Skip to content

Use weather/subscribe_forecast instead of the removed forecast attribute - #121

Closed
Milfeldt wants to merge 1 commit into
Makin-Things:masterfrom
Milfeldt:fix/forecast-subscription
Closed

Milfeldt wants to merge 1 commit into
Makin-Things:masterfrom
Milfeldt:fix/forecast-subscription

Conversation

@Milfeldt

@Milfeldt Milfeldt commented Nov 7, 2026

Copy link
Copy Markdown

Home Assistant removed the forecast state attribute from weather entities in 2024.3, so every forecast read (daily forecast section, pop/pos slots, forecast min/max from weather.*) returned nothing.

  • Subscribe to weather/subscribe_forecast for every weather.* entity referenced in the config (daily, else twice_daily, else hourly), resubscribe on config change, unsubscribe on disconnect.
  • Route all forecast reads through _forecastOf(), falling back to the legacy attribute for old HA versions.
  • Skip forecast config validation until the first forecast arrives.
  • Drop the stale lit resolutions (left lit-html/is-server.js unresolved) and bump rollup-plugin-typescript2 so the build runs on Node 22.
  • Version 1.1.0.

Claude-Session: https://claude.ai/code/session_01XBZtdR44EpkF6zqZhgEjQW

Home Assistant removed the `forecast` state attribute from weather
entities in 2024.3, so every forecast read (daily forecast section,
pop/pos slots, forecast min/max from weather.*) returned nothing.

- Subscribe to weather/subscribe_forecast for every weather.* entity
  referenced in the config (daily, else twice_daily, else hourly),
  resubscribe on config change, unsubscribe on disconnect.
- Route all forecast reads through _forecastOf(), falling back to the
  legacy attribute for old HA versions.
- Skip forecast config validation until the first forecast arrives.
- Drop the stale lit resolutions (left lit-html/is-server.js unresolved)
  and bump rollup-plugin-typescript2 so the build runs on Node 22.
- Version 1.1.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XBZtdR44EpkF6zqZhgEjQW
@Milfeldt Milfeldt closed this Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant