homeassistant-alphaESS icon indicating copy to clipboard operation
homeassistant-alphaESS copied to clipboard

TypeError: unsupported operand type

Open ahmedhoumeci opened this issue 9 months ago • 27 comments

How can I solve it? I saw differents people with the same issue, but I didn't understand the solution. Here is the log: Questo errore ha avuto origine da un'integrazione personalizzata.

Registratore: custom_components.alphaess Fonte: helpers/update_coordinator.py:315 Integrazione: Alpha ESS (documentazione, problemi) Prima occorrenza: 00:00:22 (428 occorrenze) Ultima registrazione: 07:37:43

Unexpected error fetching alphaess data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/alphaess/coordinator.py", line 56, in _async_update_data inverterdata.update({"Solar to Load": _pv - _feedin}) ~~~~^~~~~~~~~ TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'

ahmedhoumeci avatar May 04 '24 05:05 ahmedhoumeci