fix bug in parse_config for ignore lines with time-conditions

This commit is contained in:
Rob Pearce 2024-11-25 15:47:10 +11:00
parent c002091d0e
commit cae20f5857
1 changed files with 1 additions and 1 deletions

View File

@ -1330,7 +1330,7 @@ function parse_config() {
line_human="${line_human}Prevent ${roomc}${tok[1]}${linec} from being the MyZone"
elif [[ ${tok[0]} == "noop" || ${tok[0]} == "ignore" ]]; then
line_human="${line_human}Ignore ${roomc}${tok[1]}${linec} temperature when deciding what to do"
ign="${ign} ${tok[1]}"
[[ $ok -eq 1 ]] && ign="${ign} ${tok[1]}"
elif [[ ${tok[0]} == "force" ]]; then
if [[ $VALID_ZONE_STATES == *\ ${tok[2]}\ * ]]; then
local adj