Open Testingfor101 opened 1 month ago
Do you refer to page 26 and following?
Yes, 26-27 pages.
Also, when it is night and no electricity is produced I am getting this error:
Logger: custom_components.tigo.tigo
Source: helpers/update_coordinator.py:354
integration: Tigo cloud ([documentation](https://github.com/MartinStoffel/tigo))
First occurred: 9:00:53 AM (238 occurrences)
Last logged: 12:57:55 PM
Unexpected error fetching TigoCoordinator data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tigo/tigo.py", line 178, in _async_update_data
return await self.tigo_data.fetch_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tigo/tigo.py", line 129, in fetch_data
if self._lastTime != time:
^^^^
UnboundLocalError: cannot access local variable 'time' where it is not associated with a value
All entities are blank and marked as unavailable.
Have you tried maybe add this info to integration?
Great work, really nice that you contributed integration, I had been getting data as rest sensor in HA, but that was not very stable. There is documented summary topic in Tigo API pdf https://support.tigoenergy.com/hc/en-us/article_attachments/360041622173 Would be really nice if you could add this to integration