Namespaces | |
| const | |
| intent | |
| significant_change | |
| websocket_api | |
Classes | |
| class | CoordinatorWeatherEntity |
| class | Forecast |
| class | PostInit |
| class | PostInitMeta |
| class | SingleCoordinatorWeatherEntity |
| class | WeatherEntity |
| class | WeatherEntityDescription |
Functions | |
| ServiceResponse | async_get_forecasts_service (WeatherEntity weather, ServiceCall service_call) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | raise_unsupported_forecast (str entity_id, str forecast_type) |
| float|None | round_temperature (float|None temperature, float precision) |
Weather component that handles meteorological data for your location.
| ServiceResponse homeassistant.components.weather.async_get_forecasts_service | ( | WeatherEntity | weather, |
| ServiceCall | service_call | ||
| ) |
Get weather forecast.
Definition at line 997 of file __init__.py.
| bool homeassistant.components.weather.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the weather component.
Definition at line 199 of file __init__.py.
| bool homeassistant.components.weather.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 220 of file __init__.py.
| bool homeassistant.components.weather.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 225 of file __init__.py.
| None homeassistant.components.weather.raise_unsupported_forecast | ( | str | entity_id, |
| str | forecast_type | ||
| ) |
Raise error on attempt to get an unsupported forecast.
Definition at line 990 of file __init__.py.
| float | None homeassistant.components.weather.round_temperature | ( | float | None | temperature, |
| float | precision | ||
| ) |
Convert temperature into preferred precision for display.
Definition at line 152 of file __init__.py.
|
private |
Definition at line 133 of file __init__.py.
|
private |
Definition at line 138 of file __init__.py.
|
private |
Definition at line 127 of file __init__.py.
|
private |
Definition at line 143 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_CLASS |
Definition at line 82 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_CLEAR_NIGHT |
Definition at line 83 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_CLOUDY |
Definition at line 84 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_EXCEPTIONAL |
Definition at line 85 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_FOG |
Definition at line 86 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_HAIL |
Definition at line 87 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_LIGHTNING |
Definition at line 88 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_LIGHTNING_RAINY |
Definition at line 89 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_PARTLYCLOUDY |
Definition at line 90 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_POURING |
Definition at line 91 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_RAINY |
Definition at line 92 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_SNOWY |
Definition at line 93 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_SNOWY_RAINY |
Definition at line 94 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_SUNNY |
Definition at line 95 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_WINDY |
Definition at line 96 of file __init__.py.
| homeassistant.components.weather.ATTR_CONDITION_WINDY_VARIANT |
Definition at line 97 of file __init__.py.
| homeassistant.components.weather.bound = DataUpdateCoordinator[Any], |
Definition at line 129 of file __init__.py.
| homeassistant.components.weather.CACHED_PROPERTIES_WITH_ATTR_ |
Definition at line 252 of file __init__.py.
| homeassistant.components.weather.default = DataUpdateCoordinator[dict[str, Any]], |
Definition at line 130 of file __init__.py.
| homeassistant.components.weather.ENTITY_ID_FORMAT |
Definition at line 77 of file __init__.py.
| homeassistant.components.weather.Final |
Definition at line 98 of file __init__.py.
| homeassistant.components.weather.PLATFORM_SCHEMA |
Definition at line 78 of file __init__.py.
| homeassistant.components.weather.PLATFORM_SCHEMA_BASE |
Definition at line 79 of file __init__.py.
| homeassistant.components.weather.ROUNDING_PRECISION |
Definition at line 123 of file __init__.py.
| homeassistant.components.weather.SCAN_INTERVAL |
Definition at line 80 of file __init__.py.
| homeassistant.components.weather.seconds |
Definition at line 80 of file __init__.py.