From 0c75c89cf09c767c7967d8bb2a41d5e07db21abf Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 8 Jul 2022 15:23:36 +0200 Subject: [PATCH] [enhancement] - scheudiles handling wc,ic24,pump, next schedule, permanenlty cloesd --- 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 05634a2..c6d2764 100644 --- a/CHANGED +++ b/CHANGED @@ -1 +1 @@ - [fix] scheduled count + [fix] - schedules events diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 3055287..bfd0ab8 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -1024,7 +1024,7 @@ sub setState { ( $has_schedule ) # zeitplan aktiv # ? ( $nearst_irrigation eq '2038-01-18 00:00') - ? ( $nearst_irrigation eq RigReadingsValue( $hash, 'n/a') || $nearst_irrigation eq '2038-01-18 00:00') + ? ( $nearst_irrigation eq RigReadingsValue( $hash, 'n/a') || $nearst_irrigation =~ '2038-01-18.*') # dauerhaft pausiert ? sprintf( (RigReadingsValue($hash, 'closed') .'. '.RigReadingsValue($hash , 'schedule permanently paused')) ) # naechster zeutplan diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 9bdbf59..7302583 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ UPD 2022-07-01_16:13:02 49241 FHEM/73_GardenaSmartBridge.pm -UPD 2022-07-08_15:09:01 75678 FHEM/74_GardenaSmartDevice.pm +UPD 2022-07-08_15:22:30 75674 FHEM/74_GardenaSmartDevice.pm