mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix error in tibber while fetching latest statistics (#93998)
This commit is contained in:
parent
038b0e6d23
commit
faacf1658f
@ -606,7 +606,7 @@ class TibberDataCoordinator(DataUpdateCoordinator[None]):
|
|||||||
)
|
)
|
||||||
|
|
||||||
last_stats = await get_instance(self.hass).async_add_executor_job(
|
last_stats = await get_instance(self.hass).async_add_executor_job(
|
||||||
get_last_statistics, self.hass, 1, statistic_id, True, {}
|
get_last_statistics, self.hass, 1, statistic_id, True, set()
|
||||||
)
|
)
|
||||||
|
|
||||||
if not last_stats:
|
if not last_stats:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user