Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.smhi Namespace Reference

Namespaces

 config_flow
 
 const
 
 weather
 

Functions

bool async_migrate_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

list PLATFORMS = [Platform.WEATHER]
 

Detailed Description

Support for the Swedish weather institute weather service.

Function Documentation

◆ async_migrate_entry()

bool homeassistant.components.smhi.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Migrate old entry.

Definition at line 33 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.smhi.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up SMHI forecast as config entry.

Definition at line 16 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.smhi.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 28 of file __init__.py.

Variable Documentation

◆ PLATFORMS

list homeassistant.components.smhi.PLATFORMS = [Platform.WEATHER]

Definition at line 13 of file __init__.py.