Merge branch 'fix/bluetooth'
This commit is contained in:
commit
617a12f96d
2 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ class Module(core.module.Module):
|
||||||
|
|
||||||
def status(self, widget):
|
def status(self, widget):
|
||||||
"""Get status."""
|
"""Get status."""
|
||||||
return self._status
|
return self._status if self._status.isdigit() and int(self._status) > 1 else ""
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Update current state."""
|
"""Update current state."""
|
||||||
|
|
|
@ -254,12 +254,12 @@
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"ON": { "prefix": "" },
|
"ON": { "prefix": "" },
|
||||||
"OFF": { "prefix": "" },
|
"OFF": { "prefix": "" },
|
||||||
"?": { "prefix": "" }
|
"?": { "prefix": "" }
|
||||||
},
|
},
|
||||||
"bluetooth2": {
|
"bluetooth2": {
|
||||||
"ON": { "prefix": "" },
|
"ON": { "prefix": "" },
|
||||||
"warning": { "prefix": "" },
|
"warning": { "prefix": "" },
|
||||||
"critical": { "prefix": "" }
|
"critical": { "prefix": "" }
|
||||||
},
|
},
|
||||||
"battery-upower": {
|
"battery-upower": {
|
||||||
"charged": {
|
"charged": {
|
||||||
|
|
Loading…
Reference in a new issue