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

Variables

string ATTRIBUTION = "Instituto Português do Mar e Atmosfera"
 
dictionary CONDITION_MAP
 
string DATA_API = "api"
 
string DATA_LOCATION = "location"
 
string DOMAIN = "ipma"
 
string ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.ipma_{HOME_LOCATION_NAME}"
 
string HOME_LOCATION_NAME = "Home"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=30)
 

Detailed Description

Constants for IPMA component.

Variable Documentation

◆ ATTRIBUTION

string homeassistant.components.ipma.const.ATTRIBUTION = "Instituto Português do Mar e Atmosfera"

Definition at line 60 of file const.py.

◆ CONDITION_MAP

dictionary homeassistant.components.ipma.const.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 54 of file const.py.

◆ DATA_API

string homeassistant.components.ipma.const.DATA_API = "api"

Definition at line 30 of file const.py.

◆ DATA_LOCATION

string homeassistant.components.ipma.const.DATA_LOCATION = "location"

Definition at line 31 of file const.py.

◆ DOMAIN

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

Definition at line 26 of file const.py.

◆ ENTITY_ID_SENSOR_FORMAT_HOME

string homeassistant.components.ipma.const.ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.ipma_{HOME_LOCATION_NAME}"

Definition at line 33 of file const.py.

◆ HOME_LOCATION_NAME

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

Definition at line 28 of file const.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.ipma.const.MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=30)

Definition at line 35 of file const.py.