Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| diagnostics | |
| entity | |
| sensor | |
Classes | |
| class | AmbientStation |
Functions | |
| dict[str, Any] | async_hydrate_station_data (dict[str, Any] data) |
| bool | async_migrate_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_setup_entry (HomeAssistant hass, AmbientStationConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, AmbientStationConfigEntry entry) |
| int | async_wm2_to_lx (float value) |
Variables | |
| AmbientStationConfigEntry | |
| string | DATA_CONFIG = "config" |
| int | DEFAULT_SOCKET_MIN_RETRY = 15 |
| list | PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR] |
Support for Ambient Weather Station Service.
| dict[str, Any] homeassistant.components.ambient_station.async_hydrate_station_data | ( | dict[str, Any] | data | ) |
Hydrate station data with addition or normalized data.
Definition at line 49 of file __init__.py.
| bool homeassistant.components.ambient_station.async_migrate_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Migrate old entry.
Definition at line 103 of file __init__.py.
| bool homeassistant.components.ambient_station.async_setup_entry | ( | HomeAssistant | hass, |
| AmbientStationConfigEntry | entry | ||
| ) |
Set up the Ambient PWS as config entry.
Definition at line 57 of file __init__.py.
| bool homeassistant.components.ambient_station.async_unload_entry | ( | HomeAssistant | hass, |
| AmbientStationConfigEntry | entry | ||
| ) |
Unload an Ambient PWS config entry.
Definition at line 92 of file __init__.py.
| int homeassistant.components.ambient_station.async_wm2_to_lx | ( | float | value | ) |
Calculate illuminance (in lux).
Definition at line 43 of file __init__.py.
| homeassistant.components.ambient_station.AmbientStationConfigEntry |
Definition at line 39 of file __init__.py.
| string homeassistant.components.ambient_station.DATA_CONFIG = "config" |
Definition at line 34 of file __init__.py.
| int homeassistant.components.ambient_station.DEFAULT_SOCKET_MIN_RETRY = 15 |
Definition at line 36 of file __init__.py.
| list homeassistant.components.ambient_station.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR] |
Definition at line 32 of file __init__.py.