Skip to content

Fix 500 error during planner setup on recent Home Assistant vrsions - #108

Open
Trihawk-8 wants to merge 1 commit into
dala318:mainfrom
Trihawk-8:fix-homeassistant-compatibility
Open

Fix 500 error during planner setup on recent Home Assistant vrsions#108
Trihawk-8 wants to merge 1 commit into
dala318:mainfrom
Trihawk-8:fix-homeassistant-compatibility

Conversation

@Trihawk-8

Copy link
Copy Markdown

This fixes the configuration flow on recent Home Assistant versions.

The planner previously relied on template.integration_entities(), which no longer returns the expected Nord Pool entities during setup, resulting in a 500 internal Server Error.

This change discovers the Nord Pool sensor entities directly from the Home Assistant state registry while preserving the existing NORDPOOL_DOMAIN_ and ENTSOE_DOMAIN logic.

Tested on Home Assistant where the original integration failed during configuration.

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