SMHI

The SMHI integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] adds support for the SMHI.se web service as a source for meteorological data for your location.

Important

Only locations close to Sweden can be added. See SMHI.se area for more details which locations are supported.

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:

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

  1. Go to Settings > Devices & services and select the integration card.
  2. From the list of devices, select the integration instance you want to remove.
  3. Next to the entry, select the three dots menu. Then, select Delete.