diff --git a/homeassistant/components/kitchen_sink/config_flow.py b/homeassistant/components/kitchen_sink/config_flow.py index aadef33520265..6de9e94777671 100644 --- a/homeassistant/components/kitchen_sink/config_flow.py +++ b/homeassistant/components/kitchen_sink/config_flow.py @@ -79,19 +79,18 @@ async def async_step_options_1( { vol.Optional( CONF_BOOLEAN, - default=self.config_entry.options.get( - CONF_BOOLEAN, False - ), + default=False, ): bool, vol.Optional( CONF_INT, - default=self.config_entry.options.get(CONF_INT, 10), + default=10, ): int, } ), { "collapsed": False, "multiple": True, + "default": self.config_entry.options.get("section_1"), }, ), vol.Required("section_2"): data_entry_flow.section( @@ -110,7 +109,7 @@ async def async_step_options_1( { "collapsed": False, "multiple": True, - "default": [{"a": 7, "b": 10}], + "default": self.config_entry.options.get("section_2"), }, ), } diff --git a/homeassistant/data_entry_flow.py b/homeassistant/data_entry_flow.py index b6aa744de0f6d..25183dd6741e5 100644 --- a/homeassistant/data_entry_flow.py +++ b/homeassistant/data_entry_flow.py @@ -909,7 +909,7 @@ class SectionConfig(TypedDict, total=False): collapsed: bool multiple: bool - default: list[Any] + default: list[Any] | None class section: