Classes | |
| class | ExtraForecast |
| class | NWSWeather |
Functions | |
| str | _calculate_unique_id (MappingProxyType[str, Any] entry_data, str mode) |
| None | async_setup_entry (HomeAssistant hass, NWSConfigEntry entry, AddEntitiesCallback async_add_entities) |
| str | convert_condition (str time, tuple[tuple[str, int|None],...] weather) |
Variables | |
| int | PARALLEL_UPDATES = 0 |
Support for NWS weather service.
|
private |
Calculate unique ID.
Definition at line 127 of file weather.py.
| None homeassistant.components.nws.weather.async_setup_entry | ( | HomeAssistant | hass, |
| NWSConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up the NWS weather platform.
Definition at line 89 of file weather.py.
| str homeassistant.components.nws.weather.convert_condition | ( | str | time, |
| tuple[tuple[str, int | None], ...] | weather | ||
| ) |
Convert NWS codes to HA condition. Choose first condition in CONDITION_CLASSES that exists in weather code. If no match is found, return first condition from NWS
Definition at line 63 of file weather.py.
| int homeassistant.components.nws.weather.PARALLEL_UPDATES = 0 |
Definition at line 60 of file weather.py.