Closed Ernst79 closed 4 months ago
Hi Ernst, is there a specific version of home assistant or python needed? After applying this commit I'm running into the next error
` Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/degree_days/init.py", line 128, in _async_update_data data = await self.hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/degree_days/knmi/init.py", line 35, in init self.gas_per_weighted_degree_day = data["consumption_per_weighted_degree_day"]
KeyError: 'consumption_per_weighted_degree_day'
`
Can you try it with the change in commit 93e843d?
Fix import error #29