fix bool truthy

SchiZzA 2026-05-27 21:49:39 +02:00
parent e570ff0014
commit 463b922e83
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {