* Support harvey brand * Update tests * Moved the brand selection step to the same step as credentials * Update tests/components/aquacell/test_init.py --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
13 lines
339 B
Python
13 lines
339 B
Python
"""Constants for the Aquacell integration."""
|
|
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = "aquacell"
|
|
DATA_AQUACELL = "DATA_AQUACELL"
|
|
|
|
CONF_BRAND = "brand"
|
|
CONF_REFRESH_TOKEN = "refresh_token"
|
|
CONF_REFRESH_TOKEN_CREATION_TIME = "refresh_token_creation_time"
|
|
|
|
REFRESH_TOKEN_EXPIRY_TIME = timedelta(days=30)
|
|
UPDATE_INTERVAL = timedelta(days=1)
|