mirror of
https://github.com/home-assistant/core.git
synced 2025-05-04 22:19:17 +00:00

* Add manufacturer const * Add device_info to binary sensor * Add device info to climate * Add device info to sensor * Add device info to weather * Add constant for device info * Fix log messages * Use guard clauses
27 lines
649 B
Python
27 lines
649 B
Python
"""Constants for the ecobee integration."""
|
|
import logging
|
|
|
|
_LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "ecobee"
|
|
DATA_ECOBEE_CONFIG = "ecobee_config"
|
|
|
|
CONF_INDEX = "index"
|
|
CONF_REFRESH_TOKEN = "refresh_token"
|
|
|
|
ECOBEE_MODEL_TO_NAME = {
|
|
"idtSmart": "ecobee Smart",
|
|
"idtEms": "ecobee Smart EMS",
|
|
"siSmart": "ecobee Si Smart",
|
|
"siEms": "ecobee Si EMS",
|
|
"athenaSmart": "ecobee3 Smart",
|
|
"athenaEms": "ecobee3 EMS",
|
|
"corSmart": "Carrier/Bryant Cor",
|
|
"nikeSmart": "ecobee3 lite Smart",
|
|
"nikeEms": "ecobee3 lite EMS",
|
|
}
|
|
|
|
ECOBEE_PLATFORMS = ["binary_sensor", "climate", "sensor", "weather"]
|
|
|
|
MANUFACTURER = "ecobee"
|