Logger: homeassistant
Source: custom_components/tibber_data/sensor.py:249
Integration: Tibber data (documentation, issues)
First occurred: August 15, 2023 at 13:24:29 (11217 occurrences)
Last logged: 09:21:29
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 229, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 374, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in async_update_listeners
update_callback()
File "/config/custom_components/tibber_data/sensor.py", line 112, in _handle_coordinator_update
native_value = self.update_energy_total_price_with_subsidy_sensor()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tibber_data/sensor.py", line 249, in update_energy_total_price_with_subsidy_sensor
return grid_price + price - self.coordinator.data["est_subsidy"]
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
Logger: homeassistant Source: custom_components/tibber_data/sensor.py:249 Integration: Tibber data (documentation, issues) First occurred: August 15, 2023 at 13:24:29 (11217 occurrences) Last logged: 09:21:29 Error doing job: Task exception was never retrieved
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 229, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 374, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in async_update_listeners update_callback() File "/config/custom_components/tibber_data/sensor.py", line 112, in _handle_coordinator_update native_value = self.update_energy_total_price_with_subsidy_sensor() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/tibber_data/sensor.py", line 249, in update_energy_total_price_with_subsidy_sensor return grid_price + price - self.coordinator.data["est_subsidy"]