Convert UpCloud to config flow, improve error handling (#37941)
This commit is contained in:
parent
d790de1346
commit
a9f342ef74
12 changed files with 479 additions and 99 deletions
7
homeassistant/components/upcloud/const.py
Normal file
7
homeassistant/components/upcloud/const.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
"""UpCloud constants."""
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
DOMAIN = "upcloud"
|
||||
DEFAULT_SCAN_INTERVAL = timedelta(seconds=60)
|
||||
CONFIG_ENTRY_UPDATE_SIGNAL_TEMPLATE = f"{DOMAIN}_config_entry_update:" "{}"
|
Loading…
Add table
Add a link
Reference in a new issue