1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 00:20:30 +01:00

Avoid creating empty container_updates entries

This commit is contained in:
Stefan Agner
2026-04-01 19:03:35 +02:00
parent 7ea801eb02
commit 56bf2e8f2d

View File

@@ -393,7 +393,7 @@ class HassioStatsDataUpdateCoordinator(DataUpdateCoordinator):
*[
self._update_addon_stats(slug)
for slug in started_addons
if CONTAINER_STATS in container_updates[slug]
if CONTAINER_STATS in container_updates.get(slug, {})
]
)
)