solaar: fix tyop in ping_all

This commit is contained in:
Peter F. Patel-Schneider 2022-11-30 14:07:14 -05:00
parent f4b25b2594
commit e1e843346c
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ def ping_all(resuming=False):
_log.info('ping all devices%s', ' when resuming' if resuming else '') _log.info('ping all devices%s', ' when resuming' if resuming else '')
for l in _all_listeners.values(): for l in _all_listeners.values():
if l.receiver.isDevice: if l.receiver.isDevice:
if resuming and hasattr(l.reciever, 'status'): if resuming and hasattr(l.receiver, 'status'):
l.receiver.status._active = None # ensure that settings are pushed l.receiver.status._active = None # ensure that settings are pushed
if l.receiver.ping(): if l.receiver.ping():
l.receiver.status.changed(active=True, push=True) l.receiver.status.changed(active=True, push=True)