hass-core/homeassistant/components/powerwall/const.py
bubonicbob c74bef265a
Update powerwall for tesla_powerwall 0.5.0 which is async (#107164)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-10 11:21:53 -10:00

19 lines
507 B
Python

"""Constants for the Tesla Powerwall integration."""
from typing import Final
DOMAIN = "powerwall"
POWERWALL_BASE_INFO: Final = "base_info"
POWERWALL_COORDINATOR: Final = "coordinator"
POWERWALL_API: Final = "api_instance"
POWERWALL_API_CHANGED: Final = "api_changed"
UPDATE_INTERVAL = 30
ATTR_FREQUENCY = "frequency"
ATTR_INSTANT_AVERAGE_VOLTAGE = "instant_average_voltage"
ATTR_INSTANT_TOTAL_CURRENT = "instant_total_current"
ATTR_IS_ACTIVE = "is_active"
MODEL = "PowerWall 2"
MANUFACTURER = "Tesla"