From 463b922e83d3a650c9e8a7c49217dfddd11f34e1 Mon Sep 17 00:00:00 2001 From: SchiZzA Date: Wed, 27 May 2026 21:49:39 +0200 Subject: [PATCH] fix bool truthy --- custom_components/sws12500/config_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/sws12500/config_flow.py b/custom_components/sws12500/config_flow.py index 99b1871..bf6c7e3 100644 --- a/custom_components/sws12500/config_flow.py +++ b/custom_components/sws12500/config_flow.py @@ -104,11 +104,11 @@ class ConfigOptionsFlowHandler(OptionsFlow): WINDY_STATION_PW, default=self.windy_data.get(WINDY_STATION_PW, ""), ): str, - vol.Optional(WINDY_ENABLED, default=self.windy_data[WINDY_ENABLED]): bool or False, + vol.Optional(WINDY_ENABLED, default=self.windy_data[WINDY_ENABLED]): bool, vol.Optional( WINDY_LOGGER_ENABLED, default=self.windy_data[WINDY_LOGGER_ENABLED], - ): bool or False, + ): bool, } self.pocasi_cz = {