mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-13 02:26:37 +00:00
Merge origin/main into claude/fm6124dj-panel-compat-1b5e8a
Brings in #587 and #588. The only conflict was CHANGELOG.md, where both sides added Unreleased entries; all of them are kept. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1166,7 +1166,11 @@
|
||||
TypeError that takes down the whole config page. A legacy boolean was
|
||||
the on/off switch the object's `enabled` now holds, so carry it over --
|
||||
rendering {} would draw that checkbox unchecked and the next save would
|
||||
quietly turn the feature off. The save then writes the object. #}
|
||||
quietly turn the feature off. The save then writes the object.
|
||||
The plugin loader applies the same rule before validating
|
||||
(legacy_bool_as_object in src/plugin_system/schema_manager.py), and
|
||||
test/test_legacy_boolean_config.py renders this macro against it:
|
||||
change the two together. #}
|
||||
{% if value is mapping %}
|
||||
{% set nested_value = value %}
|
||||
{% elif value is boolean and 'enabled' in (prop.properties or {}) %}
|
||||
|
||||
Reference in New Issue
Block a user