Convert UpCloud to config flow, improve error handling (#37941)

This commit is contained in:
Ville Skyttä 2020-10-16 00:26:01 +03:00 committed by GitHub
parent d790de1346
commit a9f342ef74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 479 additions and 99 deletions

View 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:" "{}"