From e48321e8c3d40aa500293874793843b4bc12b938 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 8 Jul 2025 17:36:16 +0200 Subject: [PATCH] fix --- homeassistant/components/generic/config_flow.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/generic/config_flow.py b/homeassistant/components/generic/config_flow.py index 95acb810890..ffcb45b07bb 100644 --- a/homeassistant/components/generic/config_flow.py +++ b/homeassistant/components/generic/config_flow.py @@ -454,10 +454,10 @@ class GenericOptionsFlowHandler(OptionsFlow): CONF_USE_WALLCLOCK_AS_TIMESTAMPS not in user_input[SECTION_ADVANCED] ): - user_input[SECTION_ADVANCED][ - CONF_USE_WALLCLOCK_AS_TIMESTAMPS - ] = self.config_entry.options[SECTION_ADVANCED].get( - CONF_USE_WALLCLOCK_AS_TIMESTAMPS, False + data[SECTION_ADVANCED][CONF_USE_WALLCLOCK_AS_TIMESTAMPS] = ( + self.config_entry.options[SECTION_ADVANCED].get( + CONF_USE_WALLCLOCK_AS_TIMESTAMPS, False + ) ) self.user_input = data # temporary preview for user to check the image