Skip to content

Add UI-based OptionsFlow so Smart Climate requires no YAML configuration - #29

Draft
JansenDevelopment with Copilot wants to merge 2 commits into
developfrom
copilot/configure-integration-ui
Draft

JansenDevelopment with Copilot wants to merge 2 commits into
developfrom
copilot/configure-integration-ui

Conversation

Copilot AI commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

The integration lacked a way to change settings post-setup through the UI — users either had to edit YAML or were stuck with the initial values.

Changes

  • config_flow.py — Added SmartClimateOptionsFlow and registered it via async_get_options_flow. Exposes all runtime-tunable settings (temperatures, away delay, interruptibility, override mode/duration) under Settings → Integrations → Smart Climate → Configure.

  • climate.py — Settings now read from entry.options merged over entry.data, so options flow changes take effect after reload.

  • __init__.py — Registers an update listener that reloads the config entry when options change.

  • Translations (strings.json, en.json, nl.json) — Added strings for the new options.init step and the previously untranslated config.reconfigure step (Dutch included).

UI entry points after this change

Action Path
Initial setup Add Integration → Smart Climate
Change entity references Smart Climate → ⋮ → Reconfigure
Change temperatures / override settings Smart Climate → Configure
Original prompt

This section details on the original issue you should resolve

<issue_title>Config </issue_title>
<issue_description>Er moet in kaart gebracht worden hoe nu de integratie moet worden geconfigureerd en indien mogelijk moet hij via een ui worden toegevoegd zodat de gebruiker helemaal geen yaml hoeft te bewerken.
</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: JansenDevelopment <181745188+JansenDevelopment@users.noreply.github.com>
Copilot AI changed the title [WIP] Add UI for integration configuration without YAML Add UI-based OptionsFlow so Smart Climate requires no YAML configuration Feb 27, 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.

Config

2 participants