You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens every once in a while for me, recently. I run prometheus-dyson (https://github.com/seanrees/prometheus-dyson)
but it doesn't seem like that's very involved here (eg the code doesn't make it to calling the callback).
Adding a None check seems simple but might just paper it over, I don't know why info would be None there.
This is after several days of runtime:
Traceback (most recent call last):
File "/usr/lib64/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/home/aug/.local/lib/python3.10/site-packages/zeroconf/_services/browser.py", line 532, in run
self._fire_service_state_changed_event(event)
File "/home/aug/.local/lib/python3.10/site-packages/zeroconf/_services/browser.py", line 416, in _fire_service_state_changed_event
self._service_state_changed.fire(
File "/home/aug/.local/lib/python3.10/site-packages/zeroconf/_services/__init__.py", line 55, in fire
h(**kwargs)
File "/home/aug/.local/lib/python3.10/site-packages/zeroconf/_services/browser.py", line 177, in on_change
getattr(listener, _ON_CHANGE_DISPATCH[state_change])(zeroconf, service_type, name)
File "/home/aug/.local/lib/python3.10/site-packages/libdyson/discovery.py", line 81, in add_service
self._dyson_discovery.device_discovered(info)
File "/home/aug/.local/lib/python3.10/site-packages/libdyson/discovery.py", line 37, in device_discovered
if info.type == TYPE_DYSON_360_EYE:
AttributeError: 'NoneType' object has no attribute 'type'
The text was updated successfully, but these errors were encountered:
This happens every once in a while for me, recently. I run prometheus-dyson (https://github.com/seanrees/prometheus-dyson)
but it doesn't seem like that's very involved here (eg the code doesn't make it to calling the callback).
Adding a None check seems simple but might just paper it over, I don't know why
info
would be None there.This is after several days of runtime:
The text was updated successfully, but these errors were encountered: