n4ts / ha-notione

This device tracker uses unofficial API to get data from web.notione.com
Apache License 2.0
7 stars 1 forks source link

Integration has stopped working :( #3

Closed kozlik07 closed 2 years ago

kozlik07 commented 2 years ago

ha log errors: is it possible to correct it

Logger: homeassistant.components.device_tracker Source: custom_components/notione/device_tracker.py:124 Integration: Śledzenie urządzeń (documentation, issues) First occurred: 13:33:51 (1 occurrences) Last logged: 13:33:51

Error setting up platform legacy notione Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 255, in async_setup_legacy setup = await hass.async_add_executor_job( File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/notione/device_tracker.py", line 43, in setup_scanner NotiOneTracker(hass, config, see) File "/config/custom_components/notione/device_tracker.py", line 68, in init update_interval(None) File "/config/custom_components/notione/device_tracker.py", line 63, in update_interval self._update_info() File "/config/custom_components/notione/device_tracker.py", line 124, in _update_info if entity_picture[0:4] != 'http': TypeError: 'NoneType' object is not subscriptable

n4ts commented 2 years ago

fixed bc0357b