Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Amber Electric Constants."""
2 
3 import logging
4 
5 from homeassistant.const import Platform
6 
7 DOMAIN = "amberelectric"
8 CONF_SITE_NAME = "site_name"
9 CONF_SITE_ID = "site_id"
10 
11 ATTRIBUTION = "Data provided by Amber Electric"
12 
13 LOGGER = logging.getLogger(__package__)
14 PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]