Add UI-based OptionsFlow so Smart Climate requires no YAML configuration - #29
Draft
JansenDevelopment with Copilot wants to merge 2 commits into
Draft
JansenDevelopment with Copilot wants to merge 2 commits into
JansenDevelopment with Copilot wants to merge 2 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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— AddedSmartClimateOptionsFlowand registered it viaasync_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 fromentry.optionsmerged overentry.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 newoptions.initstep and the previously untranslatedconfig.reconfigurestep (Dutch included).UI entry points after this change
Original prompt
🔒 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.