From 197dba15f1186298cf4490d17ace72a340ba079e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 26 Jun 2022 19:22:06 +0200 Subject: [PATCH] fix - clear next_start --- CHANGED | 2 +- FHEM/74_GardenaSmartDevice.pm | 2 +- controls_GardenaSmartDevice.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGED b/CHANGED index 413a9dc..b37aa01 100644 --- a/CHANGED +++ b/CHANGED @@ -1 +1 @@ - [alpha] - extendedstate: state fix if empty or not exists + [fix] - watering_next_start diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 34b7eb7..7514123 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -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}, diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 6d23b0a..ab581e7 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -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