Skip to content

Refactor WattPlan sources to use merged provider lists - #2

Merged
LordMike merged 8 commits into
mainfrom
codex/multi-provider-sources
Mar 14, 2026
Merged

Refactor WattPlan sources to use merged provider lists#2
LordMike merged 8 commits into
mainfrom
codex/multi-provider-sources

Conversation

@LordMike

Copy link
Copy Markdown
Owner

Summary

  • refactor source acquisition to use a shared providers list and merged pre-normalization pipeline
  • update config and options flows so source review persists providers and entity auto-detect resolves one provider per selected entity
  • restore user-friendly auto-detect review text and keep legacy multi-entity runtime configs working by normalizing them into merged providers

Testing

  • python3 -m py_compile src/custom_components/wattplan/config_flow.py src/custom_components/wattplan/source_pipeline.py src/custom_components/wattplan/source_provider.py tests/integration/test_source_flow_modifiers.py tests/integration/test_source_provider.py
  • live Home Assistant verification in /mnt/n/Personal/hass-core for the source review flow and runtime regression check

@LordMike
LordMike merged commit 0b84f20 into main Mar 14, 2026
1 check passed
@LordMike
LordMike deleted the codex/multi-provider-sources branch March 14, 2026 13:34
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