Compare commits
No commits in common. "ee7be37ba697ac92c163f20f357ae6e601fe97e1" and "99d25bfd560239c6ddbfcfb130a63079e07b64af" have entirely different histories.
ee7be37ba6
...
99d25bfd56
|
|
@ -1,17 +0,0 @@
|
|||
"""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.
|
||||
"""
|
||||
|
||||
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"
|
||||
Loading…
Reference in New Issue