Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ambient_station Namespace Reference

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]
 

Detailed Description

Support for Ambient Weather Station Service.

Function Documentation

◆ async_hydrate_station_data()

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.

◆ async_migrate_entry()

bool homeassistant.components.ambient_station.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Migrate old entry.

Definition at line 103 of file __init__.py.

◆ async_setup_entry()

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.

◆ async_unload_entry()

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.

◆ async_wm2_to_lx()

int homeassistant.components.ambient_station.async_wm2_to_lx ( float  value)
Calculate illuminance (in lux).

Definition at line 43 of file __init__.py.

Variable Documentation

◆ AmbientStationConfigEntry

homeassistant.components.ambient_station.AmbientStationConfigEntry

Definition at line 39 of file __init__.py.

◆ DATA_CONFIG

string homeassistant.components.ambient_station.DATA_CONFIG = "config"

Definition at line 34 of file __init__.py.

◆ DEFAULT_SOCKET_MIN_RETRY

int homeassistant.components.ambient_station.DEFAULT_SOCKET_MIN_RETRY = 15

Definition at line 36 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.ambient_station.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]

Definition at line 32 of file __init__.py.