Add a DataUpdateCoordinator to Hydrawise (#93223)
* Add a DataUpdateCoordinator to Hydrawise * Replace DATA_HYDRAWISE with DOMAIN * Replace persistent notification with a ConfigEntryNotReady exception * Changes requested during PR review * Add a type annotation to the `monitored_conditions` field. Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
parent
f355f0cc6d
commit
ace45f31ff
7 changed files with 136 additions and 91 deletions
|
@ -11,7 +11,6 @@ CONF_WATERING_TIME = "watering_minutes"
|
|||
NOTIFICATION_ID = "hydrawise_notification"
|
||||
NOTIFICATION_TITLE = "Hydrawise Setup"
|
||||
|
||||
DATA_HYDRAWISE = "hydrawise"
|
||||
DOMAIN = "hydrawise"
|
||||
DEFAULT_WATERING_TIME = 15
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue