mirror of
https://github.com/home-assistant/core.git
synced 2025-11-07 01:50:18 +00:00
Make sure AirVisual data storage conforms to standards (#57806)
This commit is contained in:
@@ -192,7 +192,7 @@ async def async_setup_entry(
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
|
||||
) -> None:
|
||||
"""Set up AirVisual sensors based on a config entry."""
|
||||
coordinator = hass.data[DOMAIN][DATA_COORDINATOR][entry.entry_id]
|
||||
coordinator = hass.data[DOMAIN][entry.entry_id][DATA_COORDINATOR]
|
||||
|
||||
sensors: list[AirVisualGeographySensor | AirVisualNodeProSensor]
|
||||
if entry.data[CONF_INTEGRATION_TYPE] in (
|
||||
|
||||
Reference in New Issue
Block a user