File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
custom_components/target_timeframes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 119119 vol .Optional (CONFIG_TARGET_ROLLING_TARGET , default = False ): bool ,
120120 vol .Optional (CONFIG_TARGET_LATEST_VALUES , default = False ): bool ,
121121 vol .Optional (CONFIG_TARGET_FIND_HIGHEST_VALUES , default = False ): bool ,
122- vol .Optional (CONFIG_TARGET_MIN_VALUE ): float ,
123- vol .Optional (CONFIG_TARGET_MAX_VALUE ): float ,
122+ vol .Optional (CONFIG_TARGET_MIN_VALUE ): vol . Coerce ( float ) ,
123+ vol .Optional (CONFIG_TARGET_MAX_VALUE ): vol . Coerce ( float ) ,
124124 vol .Optional (CONFIG_TARGET_WEIGHTING ): str ,
125125 vol .Required (CONFIG_TARGET_DANGEROUS_SETTINGS ): section (
126126 vol .Schema (
169169 ),
170170 vol .Optional (CONFIG_TARGET_LATEST_VALUES ): bool ,
171171 vol .Optional (CONFIG_TARGET_FIND_HIGHEST_VALUES ): bool ,
172- vol .Optional (CONFIG_TARGET_MIN_VALUE ): float ,
173- vol .Optional (CONFIG_TARGET_MAX_VALUE ): float ,
172+ vol .Optional (CONFIG_TARGET_MIN_VALUE ): vol . Coerce ( float ) ,
173+ vol .Optional (CONFIG_TARGET_MAX_VALUE ): vol . Coerce ( float ) ,
174174 vol .Optional (CONFIG_TARGET_WEIGHTING ): str ,
175175 vol .Required (CONFIG_TARGET_DANGEROUS_SETTINGS ): section (
176176 vol .Schema (
You can’t perform that action at this time.
0 commit comments