Functions | |
| set[str] | get_enabled_sensor_keys (bool using_private_api, list[RegistryEntry] entries) |
| str | make_sensor_unique_id (str|None config_entry_id, str sensor_key) |
Variables | |
| dictionary | _ha_uniqueid_to_sensor_key |
Helper functions to relate sensors keys and unique ids.
| set[str] homeassistant.components.pvpc_hourly_pricing.helpers.get_enabled_sensor_keys | ( | bool | using_private_api, |
| list[RegistryEntry] | entries | ||
| ) |
Get enabled API indicators.
Definition at line 26 of file helpers.py.
| str homeassistant.components.pvpc_hourly_pricing.helpers.make_sensor_unique_id | ( | str | None | config_entry_id, |
| str | sensor_key | ||
| ) |
Generate unique_id for each sensor kind and config entry.
Definition at line 43 of file helpers.py.
|
private |
Definition at line 14 of file helpers.py.