Classes | |
| class | PowerwallConfigFlow |
| class | WrongVersion |
Functions | |
| tuple[SiteInfoResponse, str] | _login_and_fetch_site_info (Powerwall power_wall, str password) |
| bool | _powerwall_is_reachable (str ip_address, str password) |
| dict[str, str] | validate_input (HomeAssistant hass, dict[str, str] data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | ENTRY_FAILURE_STATES |
Config flow for Tesla Powerwall integration.
|
private |
Login to the powerwall and fetch the base info.
Definition at line 45 of file config_flow.py.
|
private |
Check if the powerwall is reachable.
Definition at line 57 of file config_flow.py.
| dict[str, str] homeassistant.components.powerwall.config_flow.validate_input | ( | HomeAssistant | hass, |
| dict[str, str] | data | ||
| ) |
Validate the user input allows us to connect. Data has the keys from schema with values provided by the user.
Definition at line 69 of file config_flow.py.
|
private |
Definition at line 36 of file config_flow.py.
| dictionary homeassistant.components.powerwall.config_flow.ENTRY_FAILURE_STATES |
Definition at line 39 of file config_flow.py.