bluetooth2: only show connection count in cases of excessive numbers of connections

This commit is contained in:
Ludwig Behm 2024-04-17 22:46:18 +02:00
parent fd4b940d58
commit 21060a10a0
Signed by: l.behm
GPG key ID: D344835D63B89384

View file

@ -35,7 +35,7 @@ class Module(core.module.Module):
def status(self, widget):
"""Get status."""
return self._status
return self._status if self._status.isdigit() and int(self._status) > 1 else ""
def update(self):
"""Update current state."""