1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-13 02:19:16 +00:00
Christian 9993a68a55
Powerwall: Reuse authentication cookie ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-24 11:52:24 -10:00

24 lines
571 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"
CONFIG_ENTRY_COOKIE = "cookie"
AUTH_COOKIE_KEY = "AuthCookie"