adaptive-lighting/.github
Bas Nijholt 472796215b
Implement collapsible sections for options flow (#1313)
* Implement collapsible sections for options flow

Replace single-form options flow with collapsible sections:
- Basic options always visible (9 fields)
- Advanced options in collapsed section (collapsed by default)
- Single form, no multi-step navigation needed

Changes:
- const.py: Add BASIC_OPTIONS set defining which options are basic
- config_flow.py: Use section() from data_entry_flow to wrap advanced options
- strings.json: Restructure with sections.advanced for section translations
- tests: Update to handle nested section input format

* Update README.md, strings.json, and services.yaml

* Fix: Use vol.Required for section to render properly

* Fix section structure: separate basic and advanced fields in strings.json

* Remove accidentally added files

* Add local directories to gitignore

* Update README.md, strings.json, and services.yaml

* Preserve options behavior with collapsible sections

* Test serialized advanced options section

* fix: preserve config metadata when retrying options

* fix: keep options form defaults serializable

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-09-06 17:18:42 +02:00
..
ISSUE_TEMPLATE Update bug-report.md (#1046) 2024-10-06 22:42:03 -07:00
workflows Publish line and branch coverage reports in CI (#1564) 2026-09-06 17:09:35 +02:00
auto-comment.yml Create auto-comment.yml 2021-08-01 16:43:09 +02:00
CODEOWNERS Release 1.9.1 (#522) 2023-04-03 02:07:05 -07:00
config.yml Create config.yml 2021-08-01 16:41:16 +02:00
FUNDING.yml Fix alias in FUNDING.yml (#677) 2023-07-28 17:20:01 -07:00
release-drafter.yml Add full changelog to releases 2023-08-09 15:01:00 -07:00
renovate.json Add Mend Renovate bot (#1077) 2024-12-05 11:14:08 -08:00
update-services.py [pre-commit.ci] pre-commit autoupdate (#882) 2024-02-05 14:13:13 -08:00
update-strings.py Implement collapsible sections for options flow (#1313) 2026-09-06 17:18:42 +02:00