Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 3.22 KB

migration.md

File metadata and controls

21 lines (12 loc) · 3.22 KB

Release Hassfest Workflow Status License Donation
Open your Home Assistant instance and open this repository inside the Home Assistant Community Store. Open your Home Assistant instance and start setting up this integration.

Migration to New Weather Entity and Forecasts

This page is for people running this integration already. If you are new, please start at README.md.

With release 2023.8, Home Assistant has switched to a new mechanism how weather forecasts are provided. Before that, weather forecasts were provided via a state attribute of the weather entities, and the weather entities for each station needed to be duplicated to provide both hourly and daily forecasts.

Since Home Assistant 2023.8, all forecasts are provdided by a single entity (per station) and are retrieved by the weather.get_forecasts service.

With release 2024.4 Home Assistant has removed the previously deprecated state attribute from the weather entities. Therefore, from version 2024.4 on, this integration does not provide the old entities with the _daily and _hourly suffix any more. If you are still using them, you have to migrate to the new entities and the new mechanism now.

If you only use the built-in Weather Forecast Card from Home Assistant or a third party weather card like the one at https://github.com/bramkragten/weather-card, the migration is usually as easy as removing the _daily or _hourly suffix from the Entity ID in the configuration of the weather card and selecting the desired forecast type (daily or hourly).

Screenshot Weather Forecast Card Configuration

If you use the forecasts from the state attribute in a template sensor or automation, or if you are using a third party weather card that has not been adapted yet, there is a bit more work to do. For that, you may find these resources helpful:

  • Examples in the Home Assistant documentation.
  • Questions & Answers for this integration which also include a complete example for a template sensor that can be used as a drop-in replacement for third party weather cards that have not be adapted yet.