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

@ -1 +1 @@
[alpha] - extendedstate: state fix if empty or not exists
[fix] - watering_next_start

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},

View File

@ -1,2 +1,2 @@
UPD 2022-06-25_13:02:19 49520 FHEM/73_GardenaSmartBridge.pm
UPD 2022-06-25_16:17:07 70122 FHEM/74_GardenaSmartDevice.pm
UPD 2022-06-26_19:21:34 70124 FHEM/74_GardenaSmartDevice.pm