-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Early init error #1
Comments
I have never seen this error, and the only way it can occur is if no data is returned from Meteobridge but the connection is till fine. |
I no longer see the error on restarts so I say this is fixed. |
I will close the issue then. Thanks for reporting it. |
This is a non-serious error as it does not seem to impact the system ,just shows up i nthe logs alot.
`
Log Details (ERROR)
Logger: custom_components.meteobridge
Source: helpers/update_coordinator.py:124
Integration: Meteobridge Datalogger (documentation)
First occurred: 9:12:20 AM (20 occurrences)
Last logged: 8:39:24 PM
Unexpected error fetching meteobridge data: local variable 'sensor_item' referenced before assignment
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 136, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 124, in _async_update_data
return await self.update_method()
File "/usr/local/lib/python3.7/site-packages/pymeteobridgeio/client.py", line 61, in get_sensor_data
return await self._sensor_data()
File "/usr/local/lib/python3.7/site-packages/pymeteobridgeio/client.py", line 413, in _sensor_data
return sensor_item
UnboundLocalError: local variable 'sensor_item' referenced before assignment
`
The text was updated successfully, but these errors were encountered: