Clean up Efergy (#67755)

* Clean up Efergy

* tweak
This commit is contained in:
Robert Hillis 2022-03-11 23:29:18 -05:00 committed by GitHub
parent 09a85d2a5d
commit 09944d936d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 35 deletions

View file

@ -1,12 +1,13 @@
"""Constants for the Efergy integration."""
from datetime import timedelta
ATTRIBUTION = "Data provided by Efergy"
import logging
from typing import Final
CONF_CURRENT_VALUES = "current_values"
DATA_KEY_API = "api"
DEFAULT_NAME = "Efergy"
DOMAIN = "efergy"
DOMAIN: Final = "efergy"
LOGGER = logging.getLogger(__package__)
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30)