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:
@@ -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, {})
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user