Classes | |
| class | MetWeather |
Functions | |
| str | _calculate_unique_id (MappingProxyType[str, Any] config, bool hourly) |
| None | async_setup_entry (HomeAssistant hass, MetWeatherConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| str | format_condition (str condition) |
Variables | |
| string | DEFAULT_NAME = "Met.no" |
Support for Met.no weather service.
|
private |
Calculate unique ID.
Definition at line 86 of file weather.py.
| None homeassistant.components.met.weather.async_setup_entry | ( | HomeAssistant | hass, |
| MetWeatherConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Add a weather entity from a config_entry.
Definition at line 55 of file weather.py.
| str homeassistant.components.met.weather.format_condition | ( | str | condition | ) |
Return condition from dict CONDITIONS_MAP.
Definition at line 97 of file weather.py.
| string homeassistant.components.met.weather.DEFAULT_NAME = "Met.no" |
Definition at line 52 of file weather.py.