Add config flow for efergy (#56890)
This commit is contained in:
parent
3825f80a2d
commit
c4eeebd7a7
27 changed files with 851 additions and 184 deletions
13
homeassistant/components/efergy/const.py
Normal file
13
homeassistant/components/efergy/const.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue