2020-03-19 15:50:17 +00:00
|
|
|
"""Constants for the Tesla Powerwall integration."""
|
|
|
|
|
|
|
|
DOMAIN = "powerwall"
|
|
|
|
|
|
|
|
POWERWALL_OBJECT = "powerwall"
|
|
|
|
POWERWALL_COORDINATOR = "coordinator"
|
2020-04-27 00:14:53 +00:00
|
|
|
POWERWALL_API_CHANGED = "api_changed"
|
2020-03-19 15:50:17 +00:00
|
|
|
|
2020-04-10 16:33:58 +00:00
|
|
|
UPDATE_INTERVAL = 30
|
2020-03-19 15:50:17 +00:00
|
|
|
|
|
|
|
ATTR_FREQUENCY = "frequency"
|
|
|
|
ATTR_INSTANT_AVERAGE_VOLTAGE = "instant_average_voltage"
|
2021-05-13 16:12:48 +00:00
|
|
|
ATTR_INSTANT_TOTAL_CURRENT = "instant_total_current"
|
2020-04-23 15:00:38 +00:00
|
|
|
ATTR_IS_ACTIVE = "is_active"
|
2020-03-19 15:50:17 +00:00
|
|
|
|
2020-03-31 19:55:50 +00:00
|
|
|
STATUS_VERSION = "version"
|
|
|
|
|
2020-03-19 15:50:17 +00:00
|
|
|
POWERWALL_SITE_NAME = "site_name"
|
|
|
|
|
|
|
|
POWERWALL_API_METERS = "meters"
|
|
|
|
POWERWALL_API_CHARGE = "charge"
|
|
|
|
POWERWALL_API_GRID_STATUS = "grid_status"
|
|
|
|
POWERWALL_API_SITEMASTER = "sitemaster"
|
2020-03-31 19:55:50 +00:00
|
|
|
POWERWALL_API_STATUS = "status"
|
|
|
|
POWERWALL_API_DEVICE_TYPE = "device_type"
|
|
|
|
POWERWALL_API_SITE_INFO = "site_info"
|
2020-04-17 21:21:14 +00:00
|
|
|
POWERWALL_API_SERIAL_NUMBERS = "serial_numbers"
|
2020-03-31 19:55:50 +00:00
|
|
|
|
|
|
|
POWERWALL_HTTP_SESSION = "http_session"
|
2020-03-19 15:50:17 +00:00
|
|
|
|
|
|
|
MODEL = "PowerWall 2"
|
|
|
|
MANUFACTURER = "Tesla"
|