"""Shared keys for storing integration runtime state in `hass.data`. This integration stores runtime state under: hass.data[DOMAIN][entry_id] -> dict Keeping keys in a dedicated module prevents subtle bugs where different modules store different types under the same key. """ from __future__ import annotations from typing import Final # Per-entry dict keys stored under hass.data[DOMAIN][entry_id] ENTRY_COORDINATOR: Final[str] = "coordinator" ENTRY_ADD_ENTITIES: Final[str] = "async_add_entities" ENTRY_DESCRIPTIONS: Final[str] = "sensor_descriptions" ENTRY_LAST_OPTIONS: Final[str] = "last_options"