Classes | |
| class | IstaConsumptionType |
| class | IstaValueType |
Functions | |
| float|int|None | as_number (str|float|None value) |
| list[dict[str, Any]] | get_consumptions (dict[str, Any] data, IstaValueType|None value_type=None) |
| int|float|None | get_native_value (data, IstaConsumptionType consumption_type, IstaValueType|None value_type=None) |
| list[dict[str, Any]]|None | get_statistics (data, IstaConsumptionType consumption_type, IstaValueType|None value_type=None) |
| dict[str, Any] | get_values_by_type (dict[str, Any] consumptions, IstaConsumptionType consumption_type) |
| datetime.datetime | last_day_of_month (int month, int year) |
Utility functions for Ista EcoTrend integration.
| float | int | None homeassistant.components.ista_ecotrend.util.as_number | ( | str | float | None | value | ) |
| list[dict[str, Any]] homeassistant.components.ista_ecotrend.util.get_consumptions | ( | dict[str, Any] | data, |
| IstaValueType | None | value_type = None |
||
| ) |
| int | float | None homeassistant.components.ista_ecotrend.util.get_native_value | ( | data, | |
| IstaConsumptionType | consumption_type, | ||
| IstaValueType | None | value_type = None |
||
| ) |
| list[dict[str, Any]] | None homeassistant.components.ista_ecotrend.util.get_statistics | ( | data, | |
| IstaConsumptionType | consumption_type, | ||
| IstaValueType | None | value_type = None |
||
| ) |
| dict[str, Any] homeassistant.components.ista_ecotrend.util.get_values_by_type | ( | dict[str, Any] | consumptions, |
| IstaConsumptionType | consumption_type | ||
| ) |