1 """Component to embed nexia devices."""
3 from __future__
import annotations
5 from datetime
import timedelta
9 from nexia.home
import NexiaHome
14 _LOGGER = logging.getLogger(__name__)
16 DEFAULT_UPDATE_RATE = 120
20 """DataUpdateCoordinator for nexia homes."""
25 nexia_home: NexiaHome,
27 """Initialize DataUpdateCoordinator for the nexia home."""
33 update_interval=
timedelta(seconds=DEFAULT_UPDATE_RATE),
38 """Fetch data from API endpoint."""
dict[str, Any] _async_update_data(self)
None __init__(self, HomeAssistant hass, NexiaHome nexia_home)
IssData update(pyiss.ISS iss)