1 """The AirVisual component."""
3 from __future__
import annotations
10 DataUpdateCoordinator,
15 """Define a generic AirVisual entity."""
19 coordinator: DataUpdateCoordinator,
21 description: EntityDescription,
31 """Register callbacks."""
36 """Update the state."""
38 self.async_write_ha_state()
46 """Update the entity from the latest data."""
47 raise NotImplementedError
None update_from_latest_data(self)
None async_added_to_hass(self)
_attr_extra_state_attributes
None __init__(self, DataUpdateCoordinator coordinator, ConfigEntry entry, EntityDescription description)
None async_add_listener(HomeAssistant hass, Callable[[], None] listener)