Add config flow for efergy (#56890)

This commit is contained in:
Robert Hillis 2021-10-11 04:07:31 -04:00 committed by GitHub
parent 3825f80a2d
commit c4eeebd7a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 851 additions and 184 deletions

View file

@ -0,0 +1,13 @@
"""Constants for the Efergy integration."""
from datetime import timedelta
ATTRIBUTION = "Data provided by Efergy"
CONF_APPTOKEN = "app_token"
CONF_CURRENT_VALUES = "current_values"
DATA_KEY_API = "api"
DEFAULT_NAME = "Efergy"
DOMAIN = "efergy"
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30)