Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Tesla Powerwall integration."""
2 
3 from typing import Final
4 
5 DOMAIN = "powerwall"
6 
7 POWERWALL_BASE_INFO: Final = "base_info"
8 POWERWALL_COORDINATOR: Final = "coordinator"
9 POWERWALL_API: Final = "api_instance"
10 POWERWALL_API_CHANGED: Final = "api_changed"
11 
12 UPDATE_INTERVAL = 30
13 
14 ATTR_FREQUENCY = "frequency"
15 ATTR_INSTANT_AVERAGE_VOLTAGE = "instant_average_voltage"
16 ATTR_INSTANT_TOTAL_CURRENT = "instant_total_current"
17 ATTR_IS_ACTIVE = "is_active"
18 
19 MODEL = "PowerWall 2"
20 MANUFACTURER = "Tesla"