fix - clear next_start

This commit is contained in:
Sebastian
2022-06-26 19:22:06 +02:00
parent 8dd9771033
commit 197dba15f1
3 changed files with 3 additions and 3 deletions

View File

@ -796,7 +796,7 @@ sub WriteReadings {
}
#####
#ic24 schedules pause until
if ($decode_json->{settings}[$settings]{name} =~ /schedules_paused_until_?\d?$/) {
if ($decode_json->{settings}[$settings]{name} =~ /schedules_paused_until_?(\d)?$/) {
#my $ventil = substr($decode_json->{settings}[$settings]{name}, -1); # => 1 - 6
# check if empty, clear scheduling-scheduled_watering_next_start_x
readingsBulkUpdateIfChanged( $hash, 'scheduling-'.$decode_json->{settings}[$settings]{name},