Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| entity | |
| models | |
| sensor | |
| switch | |
Classes | |
| class | PowerwallDataManager |
Functions | |
| PowerwallBaseInfo | _call_base_info (Powerwall power_wall, str host) |
| PowerwallData | _fetch_powerwall_data (Powerwall power_wall) |
| PowerwallBaseInfo | _login_and_fetch_base_info (Powerwall power_wall, str host, str|None password) |
| bool | async_last_update_was_successful (HomeAssistant hass, PowerwallConfigEntry entry) |
| None | async_migrate_entity_unique_ids (HomeAssistant hass, PowerwallConfigEntry entry, PowerwallBaseInfo base_info) |
| bool | async_setup_entry (HomeAssistant hass, PowerwallConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| float|None | get_backup_reserve_percentage (Powerwall power_wall) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| tuple | API_CHANGED_ERROR_BODY |
| string | API_CHANGED_TITLE = "Unknown powerwall software version" |
| list | PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH] |
The Tesla Powerwall integration.
|
private |
Return PowerwallBaseInfo for the device.
Definition at line 224 of file __init__.py.
|
private |
Process and update powerwall data.
Definition at line 257 of file __init__.py.
|
private |
Login to the powerwall and fetch the base info.
Definition at line 215 of file __init__.py.
| bool homeassistant.components.powerwall.async_last_update_was_successful | ( | HomeAssistant | hass, |
| PowerwallConfigEntry | entry | ||
| ) |
Return True if the last update was successful.
Definition at line 282 of file __init__.py.
| None homeassistant.components.powerwall.async_migrate_entity_unique_ids | ( | HomeAssistant | hass, |
| PowerwallConfigEntry | entry, | ||
| PowerwallBaseInfo | base_info | ||
| ) |
Migrate old entity unique ids to use gateway_din.
Definition at line 191 of file __init__.py.
| bool homeassistant.components.powerwall.async_setup_entry | ( | HomeAssistant | hass, |
| PowerwallConfigEntry | entry | ||
| ) |
Set up Tesla Powerwall from a config entry.
Definition at line 120 of file __init__.py.
| bool homeassistant.components.powerwall.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 294 of file __init__.py.
| float | None homeassistant.components.powerwall.get_backup_reserve_percentage | ( | Powerwall | power_wall | ) |
Return the backup reserve percentage.
Definition at line 249 of file __init__.py.
|
private |
Definition at line 38 of file __init__.py.
| tuple homeassistant.components.powerwall.API_CHANGED_ERROR_BODY |
Definition at line 40 of file __init__.py.
| string homeassistant.components.powerwall.API_CHANGED_TITLE = "Unknown powerwall software version" |
Definition at line 45 of file __init__.py.
| list homeassistant.components.powerwall.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH] |
Definition at line 36 of file __init__.py.