SMHI
The SMHI integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] adds support for the SMHI.se
Only locations close to Sweden can be added. See SMHI.se area
Configuration
To add the SMHI integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select SMHI.
-
Follow the instructions on screen to complete the setup.
Weather
The weather entity provides the current state of the weather as well as detailed forecasts for daily, hourly, and twice-daily weather.
Sensors
The integration creates entities showing the current state of some additional weather metrics.
Sensor | Type | Description |
---|---|---|
Thunder probability | % | Probability of thunder. |
Total cloud coverage | % | Mean value of total cloud cover. |
Low cloud coverage | % | Mean value of low level cloud cover. |
Medium cloud coverage | % | Mean value of medium level cloud cover. |
High cloud coverage | % | Mean value of high level cloud cover. |
Precipitation category | None | Precipitation category can be any of: No precipitation, Snow, Snow and rain, Rain, Drizzle, Freezing rain, Freezing drizzle. |
Frozen precipitation | % | Percent of precipitation in frozen form. |
The cloud sensors are not enabled by default.
The SMHI weather service is free under the Creative Commons Attribution 4.0, international license. Weather data will be pulled once every 30 minutes.
Details about the API are available in the SMHI API documentation
Remove the integration
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three dots
menu. Then, select Delete.