Namespaces | |
| config_flow | |
| const | |
| sensor | |
Functions | |
| def | _get_cumulative_value (dict current_measurements, str source_type, str period_type) |
| def | _get_measurement_rate (dict current_measurements, str source_type) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| dict[str, dict[str, Any]] | async_update_energyflip (EnergyFlip energyflip) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | PLATFORMS = [Platform.SENSOR] |
The EnergyFlip integration.
|
private |
Get the cumulative energy consumption for a certain period. :param current_measurements: The result from the EnergyFlip client :param source_type: The source of energy (electricity or gas) :param period_type: The period for which cumulative value should be given.
Definition at line 122 of file __init__.py.
|
private |
Definition at line 146 of file __init__.py.
| bool homeassistant.components.huisbaasje.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up EnergyFlip from a config entry.
Definition at line 33 of file __init__.py.
| bool homeassistant.components.huisbaasje.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 74 of file __init__.py.
| dict[str, dict[str, Any]] homeassistant.components.huisbaasje.async_update_energyflip | ( | EnergyFlip | energyflip | ) |
Update the data by performing a request to EnergyFlip.
Definition at line 86 of file __init__.py.
|
private |
Definition at line 30 of file __init__.py.
| list homeassistant.components.huisbaasje.PLATFORMS = [Platform.SENSOR] |
Definition at line 28 of file __init__.py.