Modify Guardian to store a single dataclass in hass.data
(#75454)
* Modify Guardian to store a single dataclass in `hass.data` * Clarity is better * Allow entry unload to cancel task
This commit is contained in:
parent
67e16d77e8
commit
b0261dd2eb
8 changed files with 112 additions and 149 deletions
|
@ -14,8 +14,4 @@ API_WIFI_STATUS = "wifi_status"
|
|||
|
||||
CONF_UID = "uid"
|
||||
|
||||
DATA_CLIENT = "client"
|
||||
DATA_COORDINATOR = "coordinator"
|
||||
DATA_COORDINATOR_PAIRED_SENSOR = "coordinator_paired_sensor"
|
||||
|
||||
SIGNAL_PAIRED_SENSOR_COORDINATOR_ADDED = "guardian_paired_sensor_coordinator_added_{0}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue