Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.buienradar.weather Namespace Reference

Classes

class  BrWeather
 

Functions

None async_setup_entry (HomeAssistant hass, BuienRadarConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary CONDITION_CLASSES
 
dictionary CONDITION_MAP
 
string CONF_FORECAST = "forecast"
 
string DATA_CONDITION = "buienradar_condition"
 

Detailed Description

Support for Buienradar.nl weather service.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.buienradar.weather.async_setup_entry ( HomeAssistant  hass,
BuienRadarConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the buienradar platform.

Definition at line 94 of file weather.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.buienradar.weather._LOGGER = logging.getLogger(__name__)
private

Definition at line 60 of file weather.py.

◆ CONDITION_CLASSES

dictionary homeassistant.components.buienradar.weather.CONDITION_CLASSES
Initial value:
1 = {
2  ATTR_CONDITION_CLOUDY: ("c", "p"),
3  ATTR_CONDITION_FOG: ("d", "n"),
4  ATTR_CONDITION_HAIL: (),
5  ATTR_CONDITION_LIGHTNING: ("g",),
6  ATTR_CONDITION_LIGHTNING_RAINY: ("s",),
7  ATTR_CONDITION_PARTLYCLOUDY: (
8  "b",
9  "j",
10  "o",
11  "r",
12  ),
13  ATTR_CONDITION_POURING: ("l", "q"),
14  ATTR_CONDITION_RAINY: ("f", "h", "k", "m"),
15  ATTR_CONDITION_SNOWY: ("u", "i", "v", "t"),
16  ATTR_CONDITION_SNOWY_RAINY: ("w",),
17  ATTR_CONDITION_SUNNY: ("a",),
18  ATTR_CONDITION_WINDY: (),
19  ATTR_CONDITION_WINDY_VARIANT: (),
20  ATTR_CONDITION_EXCEPTIONAL: (),
21 }

Definition at line 66 of file weather.py.

◆ CONDITION_MAP

dictionary homeassistant.components.buienradar.weather.CONDITION_MAP
Initial value:
1 = {
2  cond_code: cond_ha
3  for cond_ha, cond_codes in CONDITION_CLASSES.items()
4  for cond_code in cond_codes
5 }

Definition at line 87 of file weather.py.

◆ CONF_FORECAST

string homeassistant.components.buienradar.weather.CONF_FORECAST = "forecast"

Definition at line 62 of file weather.py.

◆ DATA_CONDITION

string homeassistant.components.buienradar.weather.DATA_CONDITION = "buienradar_condition"

Definition at line 64 of file weather.py.