Hi, it worked for a short period of time but with shifted dates. Now Iam getting this error.
Unexpected error fetching Stromnetz Graz Sensor data: '<=' not supported between instances of 'datetime.datetime' and 'float'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/stromnetzgraz/sensor.py", line 166, in _async_update_data
await self._insert_statistics()
File "/config/custom_components/stromnetzgraz/sensor.py", line 257, in _insert_statistics
if last_stats_time is not None and start <= last_stats_time:
TypeError: '<=' not supported between instances of 'datetime.datetime' and 'float'
Hi, it worked for a short period of time but with shifted dates. Now Iam getting this error.