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

Classes

class  WeatherKitWeather
 

Functions

Forecast _map_daily_forecast (dict[str, Any] forecast)
 
Forecast _map_hourly_forecast (dict[str, Any] forecast)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary condition_code_to_hass
 

Detailed Description

Weather entity for Apple WeatherKit integration.

Function Documentation

◆ _map_daily_forecast()

Forecast homeassistant.components.weatherkit.weather._map_daily_forecast ( dict[str, Any]  forecast)
private

Definition at line 96 of file weather.py.

◆ _map_hourly_forecast()

Forecast homeassistant.components.weatherkit.weather._map_hourly_forecast ( dict[str, Any]  forecast)
private

Definition at line 108 of file weather.py.

◆ async_setup_entry()

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

Definition at line 45 of file weather.py.

Variable Documentation

◆ condition_code_to_hass

dictionary homeassistant.components.weatherkit.weather.condition_code_to_hass

Definition at line 58 of file weather.py.