Sensor is spamming log
Comiter opened this issue · comments
Tibber-data is spamming the log with the following error:
2022-10-02 12:59:02.001 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners update_callback() File "/config/custom_components/tibber_data/sensor.py", line 106, in _handle_coordinator_update grid_price + price - self.coordinator.data["est_subsidy"] TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'
Running latest release (0.4.4) on Hassos 2022.9.7