Add shared hass.data keys/constants for cleaner integration state storage (local)

main
Lukas Svoboda 2026-01-20 20:01:29 +01:00
parent 8034ada12f
commit ee7be37ba6
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
"""Shared keys and helpers for storing integration runtime state in hass.data.
This integration uses `hass.data[DOMAIN][entry_id]` as a per-entry dictionary.
Keeping keys in one place prevents subtle bugs where different modules
store different value types under the same key.
Keeping keys in one place prevents subtle bugs where different modules store
different value types under the same key.
"""
from __future__ import annotations