1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-06 23:46:56 +01:00
Files
core/homeassistant/components/amberelectric/const.py
T
Marc Mueller f57d42a9e8 Use platform enum (1) [A-D] (#60908)
* Use platform enum (1) [A-D]

* Fix imports

* Fix tests

* Use Platform even in tests
2021-12-03 08:51:30 -08:00

16 lines
369 B
Python

"""Amber Electric Constants."""
import logging
from homeassistant.const import Platform
DOMAIN = "amberelectric"
CONF_API_TOKEN = "api_token"
CONF_SITE_NAME = "site_name"
CONF_SITE_ID = "site_id"
CONF_SITE_NMI = "site_nmi"
ATTRIBUTION = "Data provided by Amber Electric"
LOGGER = logging.getLogger(__package__)
PLATFORMS = [Platform.SENSOR, Platform.BINARY_SENSOR]