Classes | |
| class | SmhiWeather |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CONDITION_MAP |
| MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=31) | |
| int | RETRY_TIMEOUT = 5 * 60 |
| int | TIMEOUT = 10 |
Support for the Swedish weather institute weather service.
| None homeassistant.components.smhi.weather.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Add a weather entity from map location.
Definition at line 99 of file weather.py.
|
private |
Definition at line 67 of file weather.py.
| dictionary homeassistant.components.smhi.weather.CONDITION_MAP |
Definition at line 86 of file weather.py.
| homeassistant.components.smhi.weather.MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=31) |
Definition at line 96 of file weather.py.
| int homeassistant.components.smhi.weather.RETRY_TIMEOUT = 5 * 60 |
Definition at line 94 of file weather.py.
| int homeassistant.components.smhi.weather.TIMEOUT = 10 |
Definition at line 92 of file weather.py.