diff --git a/homeassistant/components/hassio/binary_sensor.py b/homeassistant/components/hassio/binary_sensor.py index c3daaa07f28..2208f3fb580 100644 --- a/homeassistant/components/hassio/binary_sensor.py +++ b/homeassistant/components/hassio/binary_sensor.py @@ -23,7 +23,7 @@ async def async_setup_entry( HassioAddonBinarySensor( coordinator, addon, ATTR_UPDATE_AVAILABLE, "Update Available" ) - for addon in coordinator.data.values() + for addon in coordinator.data["addons"].values() ] if coordinator.is_hass_os: entities.append( diff --git a/homeassistant/components/hassio/sensor.py b/homeassistant/components/hassio/sensor.py index 857f4831587..711a2a46300 100644 --- a/homeassistant/components/hassio/sensor.py +++ b/homeassistant/components/hassio/sensor.py @@ -24,7 +24,7 @@ async def async_setup_entry( (ATTR_VERSION, "Version"), (ATTR_VERSION_LATEST, "Newest Version"), ): - for addon in coordinator.data.values(): + for addon in coordinator.data["addons"].values(): entities.append( HassioAddonSensor(coordinator, addon, attribute_name, sensor_name) )