foxess_em
foxess_em copied to clipboard
Log error and all data apart from Solcast says unknown
Added the custom component on Tuesday this week, no data has been pulled from Modbus as far as I can see and found this error in the log. Latest version from HACS and using modbus TCP connection. No issues seeing data when using foxess_modbus. I have tired re adding but the error in the log persists so not sure what the issue is.
Debug log
This error originated from a custom integration.
Logger: homeassistant Source: custom_components/foxess_em/average/average_model.py:83 Integration: FoxESS - Energy Management (documentation, issues) First occurred: 2 November 2023 at 08:25:49 (54 occurrences) Last logged: 12:30:00
Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/foxess_em/average/average_controller.py", line 70, in async_refresh await self._model.refresh() File "/config/custom_components/foxess_em/average/average_model.py", line 44, in refresh await self._update_history(self._tracked_sensors[sensor]) File "/config/custom_components/foxess_em/average/average_model.py", line 52, in _update_history await self._update_item(sensor.primary) File "/config/custom_components/foxess_em/average/average_model.py", line 83, in _update_item values_dict = [ ^ TypeError: 'NoneType' object is not iterable