Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.aemet.const Namespace Reference

Variables

string ATTR_API_CONDITION = "condition"
 
string ATTR_API_FORECAST_CONDITION = "condition"
 
string ATTR_API_FORECAST_PRECIPITATION = "precipitation"
 
string ATTR_API_FORECAST_PRECIPITATION_PROBABILITY = "precipitation_probability"
 
string ATTR_API_FORECAST_TEMP = "temperature"
 
string ATTR_API_FORECAST_TEMP_LOW = "templow"
 
string ATTR_API_FORECAST_TIME = "datetime"
 
string ATTR_API_FORECAST_WIND_BEARING = "wind_bearing"
 
string ATTR_API_FORECAST_WIND_MAX_SPEED = "wind_max_speed"
 
string ATTR_API_FORECAST_WIND_SPEED = "wind_speed"
 
string ATTR_API_HUMIDITY = "humidity"
 
string ATTR_API_PRESSURE = "pressure"
 
string ATTR_API_RAIN = "rain"
 
string ATTR_API_RAIN_PROB = "rain-probability"
 
string ATTR_API_SNOW = "snow"
 
string ATTR_API_SNOW_PROB = "snow-probability"
 
string ATTR_API_STATION_ID = "station-id"
 
string ATTR_API_STATION_NAME = "station-name"
 
string ATTR_API_STATION_TIMESTAMP = "station-timestamp"
 
string ATTR_API_STORM_PROB = "storm-probability"
 
string ATTR_API_TEMPERATURE = "temperature"
 
string ATTR_API_TEMPERATURE_FEELING = "temperature-feeling"
 
string ATTR_API_TOWN_ID = "town-id"
 
string ATTR_API_TOWN_NAME = "town-name"
 
string ATTR_API_TOWN_TIMESTAMP = "town-timestamp"
 
string ATTR_API_WIND_BEARING = "wind-bearing"
 
string ATTR_API_WIND_MAX_SPEED = "wind-max-speed"
 
string ATTR_API_WIND_SPEED = "wind-speed"
 
string ATTRIBUTION = "Powered by AEMET OpenData"
 
dictionary CONDITIONS_MAP
 
string CONF_STATION_UPDATES = "station_updates"
 
string DEFAULT_NAME = "AEMET"
 
string DOMAIN = "aemet"
 
dictionary FORECAST_MAP
 
list PLATFORMS = [Platform.SENSOR, Platform.WEATHER]
 

Detailed Description

Constant values for the AEMET OpenData component.

Variable Documentation

◆ ATTR_API_CONDITION

string homeassistant.components.aemet.const.ATTR_API_CONDITION = "condition"

Definition at line 59 of file const.py.

◆ ATTR_API_FORECAST_CONDITION

string homeassistant.components.aemet.const.ATTR_API_FORECAST_CONDITION = "condition"

Definition at line 60 of file const.py.

◆ ATTR_API_FORECAST_PRECIPITATION

string homeassistant.components.aemet.const.ATTR_API_FORECAST_PRECIPITATION = "precipitation"

Definition at line 61 of file const.py.

◆ ATTR_API_FORECAST_PRECIPITATION_PROBABILITY

string homeassistant.components.aemet.const.ATTR_API_FORECAST_PRECIPITATION_PROBABILITY = "precipitation_probability"

Definition at line 62 of file const.py.

◆ ATTR_API_FORECAST_TEMP

string homeassistant.components.aemet.const.ATTR_API_FORECAST_TEMP = "temperature"

Definition at line 63 of file const.py.

◆ ATTR_API_FORECAST_TEMP_LOW

string homeassistant.components.aemet.const.ATTR_API_FORECAST_TEMP_LOW = "templow"

Definition at line 64 of file const.py.

◆ ATTR_API_FORECAST_TIME

string homeassistant.components.aemet.const.ATTR_API_FORECAST_TIME = "datetime"

Definition at line 65 of file const.py.

◆ ATTR_API_FORECAST_WIND_BEARING

string homeassistant.components.aemet.const.ATTR_API_FORECAST_WIND_BEARING = "wind_bearing"

Definition at line 66 of file const.py.

◆ ATTR_API_FORECAST_WIND_MAX_SPEED

string homeassistant.components.aemet.const.ATTR_API_FORECAST_WIND_MAX_SPEED = "wind_max_speed"

Definition at line 67 of file const.py.

◆ ATTR_API_FORECAST_WIND_SPEED

string homeassistant.components.aemet.const.ATTR_API_FORECAST_WIND_SPEED = "wind_speed"

Definition at line 68 of file const.py.

◆ ATTR_API_HUMIDITY

string homeassistant.components.aemet.const.ATTR_API_HUMIDITY = "humidity"

Definition at line 69 of file const.py.

◆ ATTR_API_PRESSURE

string homeassistant.components.aemet.const.ATTR_API_PRESSURE = "pressure"

Definition at line 70 of file const.py.

◆ ATTR_API_RAIN

string homeassistant.components.aemet.const.ATTR_API_RAIN = "rain"

Definition at line 71 of file const.py.

◆ ATTR_API_RAIN_PROB

string homeassistant.components.aemet.const.ATTR_API_RAIN_PROB = "rain-probability"

Definition at line 72 of file const.py.

◆ ATTR_API_SNOW

string homeassistant.components.aemet.const.ATTR_API_SNOW = "snow"

Definition at line 73 of file const.py.

◆ ATTR_API_SNOW_PROB

string homeassistant.components.aemet.const.ATTR_API_SNOW_PROB = "snow-probability"

Definition at line 74 of file const.py.

◆ ATTR_API_STATION_ID

string homeassistant.components.aemet.const.ATTR_API_STATION_ID = "station-id"

Definition at line 75 of file const.py.

◆ ATTR_API_STATION_NAME

string homeassistant.components.aemet.const.ATTR_API_STATION_NAME = "station-name"

Definition at line 76 of file const.py.

◆ ATTR_API_STATION_TIMESTAMP

string homeassistant.components.aemet.const.ATTR_API_STATION_TIMESTAMP = "station-timestamp"

Definition at line 77 of file const.py.

◆ ATTR_API_STORM_PROB

string homeassistant.components.aemet.const.ATTR_API_STORM_PROB = "storm-probability"

Definition at line 78 of file const.py.

◆ ATTR_API_TEMPERATURE

string homeassistant.components.aemet.const.ATTR_API_TEMPERATURE = "temperature"

Definition at line 79 of file const.py.

◆ ATTR_API_TEMPERATURE_FEELING

string homeassistant.components.aemet.const.ATTR_API_TEMPERATURE_FEELING = "temperature-feeling"

Definition at line 80 of file const.py.

◆ ATTR_API_TOWN_ID

string homeassistant.components.aemet.const.ATTR_API_TOWN_ID = "town-id"

Definition at line 81 of file const.py.

◆ ATTR_API_TOWN_NAME

string homeassistant.components.aemet.const.ATTR_API_TOWN_NAME = "town-name"

Definition at line 82 of file const.py.

◆ ATTR_API_TOWN_TIMESTAMP

string homeassistant.components.aemet.const.ATTR_API_TOWN_TIMESTAMP = "town-timestamp"

Definition at line 83 of file const.py.

◆ ATTR_API_WIND_BEARING

string homeassistant.components.aemet.const.ATTR_API_WIND_BEARING = "wind-bearing"

Definition at line 84 of file const.py.

◆ ATTR_API_WIND_MAX_SPEED

string homeassistant.components.aemet.const.ATTR_API_WIND_MAX_SPEED = "wind-max-speed"

Definition at line 85 of file const.py.

◆ ATTR_API_WIND_SPEED

string homeassistant.components.aemet.const.ATTR_API_WIND_SPEED = "wind-speed"

Definition at line 86 of file const.py.

◆ ATTRIBUTION

string homeassistant.components.aemet.const.ATTRIBUTION = "Powered by AEMET OpenData"

Definition at line 53 of file const.py.

◆ CONDITIONS_MAP

dictionary homeassistant.components.aemet.const.CONDITIONS_MAP
Initial value:
1 = {
2  AOD_COND_CLEAR_NIGHT: ATTR_CONDITION_CLEAR_NIGHT,
3  AOD_COND_CLOUDY: ATTR_CONDITION_CLOUDY,
4  AOD_COND_FOG: ATTR_CONDITION_FOG,
5  AOD_COND_LIGHTNING: ATTR_CONDITION_LIGHTNING,
6  AOD_COND_LIGHTNING_RAINY: ATTR_CONDITION_LIGHTNING_RAINY,
7  AOD_COND_PARTLY_CLODUY: ATTR_CONDITION_PARTLYCLOUDY,
8  AOD_COND_POURING: ATTR_CONDITION_POURING,
9  AOD_COND_RAINY: ATTR_CONDITION_RAINY,
10  AOD_COND_SNOWY: ATTR_CONDITION_SNOWY,
11  AOD_COND_SUNNY: ATTR_CONDITION_SUNNY,
12 }

Definition at line 88 of file const.py.

◆ CONF_STATION_UPDATES

string homeassistant.components.aemet.const.CONF_STATION_UPDATES = "station_updates"

Definition at line 54 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.aemet.const.DEFAULT_NAME = "AEMET"

Definition at line 56 of file const.py.

◆ DOMAIN

string homeassistant.components.aemet.const.DOMAIN = "aemet"

Definition at line 57 of file const.py.

◆ FORECAST_MAP

dictionary homeassistant.components.aemet.const.FORECAST_MAP
Initial value:
1 = {
2  AOD_FORECAST_DAILY: {
3  AOD_CONDITION: ATTR_FORECAST_CONDITION,
4  AOD_PRECIPITATION_PROBABILITY: ATTR_FORECAST_PRECIPITATION_PROBABILITY,
5  AOD_TEMP_MAX: ATTR_FORECAST_NATIVE_TEMP,
6  AOD_TEMP_MIN: ATTR_FORECAST_NATIVE_TEMP_LOW,
7  AOD_TIMESTAMP_UTC: ATTR_FORECAST_TIME,
8  AOD_WIND_DIRECTION: ATTR_FORECAST_WIND_BEARING,
9  AOD_WIND_SPEED: ATTR_FORECAST_NATIVE_WIND_SPEED,
10  },
11  AOD_FORECAST_HOURLY: {
12  AOD_CONDITION: ATTR_FORECAST_CONDITION,
13  AOD_PRECIPITATION_PROBABILITY: ATTR_FORECAST_PRECIPITATION_PROBABILITY,
14  AOD_PRECIPITATION: ATTR_FORECAST_NATIVE_PRECIPITATION,
15  AOD_TEMP: ATTR_FORECAST_NATIVE_TEMP,
16  AOD_TIMESTAMP_UTC: ATTR_FORECAST_TIME,
17  AOD_WIND_DIRECTION: ATTR_FORECAST_WIND_BEARING,
18  AOD_WIND_SPEED_MAX: ATTR_FORECAST_NATIVE_WIND_GUST_SPEED,
19  AOD_WIND_SPEED: ATTR_FORECAST_NATIVE_WIND_SPEED,
20  },
21 }

Definition at line 101 of file const.py.

◆ PLATFORMS

list homeassistant.components.aemet.const.PLATFORMS = [Platform.SENSOR, Platform.WEATHER]

Definition at line 55 of file const.py.