mirror of
https://github.com/home-assistant/core.git
synced 2026-06-06 23:46:56 +01:00
f57d42a9e8
* Use platform enum (1) [A-D] * Fix imports * Fix tests * Use Platform even in tests
16 lines
369 B
Python
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]
|