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

Classes

class  MetEireannWeather
 

Functions

str _calculate_unique_id (MappingProxyType[str, Any] config, bool hourly)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
str|None format_condition (str|None condition)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for Met Éireann weather service.

Function Documentation

◆ _calculate_unique_id()

str homeassistant.components.met_eireann.weather._calculate_unique_id ( MappingProxyType[str, Any]  config,
bool  hourly 
)
private
Calculate unique ID.

Definition at line 67 of file weather.py.

◆ async_setup_entry()

None homeassistant.components.met_eireann.weather.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Add a weather entity from a config_entry.

Definition at line 47 of file weather.py.

◆ format_condition()

str | None homeassistant.components.met_eireann.weather.format_condition ( str | None  condition)
Map the conditions provided by the weather API to those supported by the frontend.

Definition at line 38 of file weather.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 35 of file weather.py.