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

Variables

dictionary ATTR_MAP
 
dictionary CONDITIONS_MAP
 
string CONF_TRACK_HOME = "track_home"
 
float DEFAULT_HOME_LATITUDE = 52.3731339
 
float DEFAULT_HOME_LONGITUDE = 4.8903147
 
string DOMAIN = "met"
 
string ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.met_{HOME_LOCATION_NAME}"
 
dictionary FORECAST_MAP
 
string HOME_LOCATION_NAME = "Home"
 

Detailed Description

Constants for Met component.

Variable Documentation

◆ ATTR_MAP

dictionary homeassistant.components.met.const.ATTR_MAP
Initial value:
1 = {
2  ATTR_WEATHER_HUMIDITY: "humidity",
3  ATTR_WEATHER_PRESSURE: "pressure",
4  ATTR_WEATHER_TEMPERATURE: "temperature",
5  ATTR_WEATHER_VISIBILITY: "visibility",
6  ATTR_WEATHER_WIND_BEARING: "wind_bearing",
7  ATTR_WEATHER_WIND_SPEED: "wind_speed",
8  ATTR_WEATHER_WIND_GUST_SPEED: "wind_gust",
9  ATTR_WEATHER_CLOUD_COVERAGE: "cloudiness",
10  ATTR_WEATHER_DEW_POINT: "dew_point",
11  ATTR_WEATHER_UV_INDEX: "uv_index",
12 }

Definition at line 198 of file const.py.

◆ CONDITIONS_MAP

dictionary homeassistant.components.met.const.CONDITIONS_MAP

Definition at line 50 of file const.py.

◆ CONF_TRACK_HOME

string homeassistant.components.met.const.CONF_TRACK_HOME = "track_home"

Definition at line 43 of file const.py.

◆ DEFAULT_HOME_LATITUDE

float homeassistant.components.met.const.DEFAULT_HOME_LATITUDE = 52.3731339

Definition at line 45 of file const.py.

◆ DEFAULT_HOME_LONGITUDE

float homeassistant.components.met.const.DEFAULT_HOME_LONGITUDE = 4.8903147

Definition at line 46 of file const.py.

◆ DOMAIN

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

Definition at line 39 of file const.py.

◆ ENTITY_ID_SENSOR_FORMAT_HOME

string homeassistant.components.met.const.ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.met_{HOME_LOCATION_NAME}"

Definition at line 48 of file const.py.

◆ FORECAST_MAP

dictionary homeassistant.components.met.const.FORECAST_MAP
Initial value:
1 = {
2  ATTR_FORECAST_CONDITION: "condition",
3  ATTR_FORECAST_NATIVE_PRECIPITATION: "precipitation",
4  ATTR_FORECAST_PRECIPITATION_PROBABILITY: "precipitation_probability",
5  ATTR_FORECAST_NATIVE_TEMP: "temperature",
6  ATTR_FORECAST_NATIVE_TEMP_LOW: "templow",
7  ATTR_FORECAST_TIME: "datetime",
8  ATTR_FORECAST_WIND_BEARING: "wind_bearing",
9  ATTR_FORECAST_NATIVE_WIND_SPEED: "wind_speed",
10  ATTR_FORECAST_NATIVE_WIND_GUST_SPEED: "wind_gust",
11  ATTR_FORECAST_CLOUD_COVERAGE: "cloudiness",
12  ATTR_FORECAST_HUMIDITY: "humidity",
13  ATTR_FORECAST_UV_INDEX: "uv_index",
14 }

Definition at line 183 of file const.py.

◆ HOME_LOCATION_NAME

string homeassistant.components.met.const.HOME_LOCATION_NAME = "Home"

Definition at line 41 of file const.py.