fix bool truthy
parent
e570ff0014
commit
463b922e83
|
|
@ -104,11 +104,11 @@ class ConfigOptionsFlowHandler(OptionsFlow):
|
||||||
WINDY_STATION_PW,
|
WINDY_STATION_PW,
|
||||||
default=self.windy_data.get(WINDY_STATION_PW, ""),
|
default=self.windy_data.get(WINDY_STATION_PW, ""),
|
||||||
): str,
|
): 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(
|
vol.Optional(
|
||||||
WINDY_LOGGER_ENABLED,
|
WINDY_LOGGER_ENABLED,
|
||||||
default=self.windy_data[WINDY_LOGGER_ENABLED],
|
default=self.windy_data[WINDY_LOGGER_ENABLED],
|
||||||
): bool or False,
|
): bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
self.pocasi_cz = {
|
self.pocasi_cz = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue