Skip to content

Commit 355523a

Browse files
committed
Fix: Use vol.Required for section to render properly
1 parent c14818f commit 355523a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/adaptive_lighting/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async def async_step_init(self, user_input: dict[str, Any] | None = None):
167167
# Combine: basic fields + collapsed advanced section
168168
full_schema = {
169169
**basic_schema,
170-
vol.Optional("advanced"): section(
170+
vol.Required("advanced"): section(
171171
vol.Schema(advanced_schema),
172172
{"collapsed": True},
173173
),

0 commit comments

Comments
 (0)