From d1b04b6a74f398bd43d03619fa6de42239beb882 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 7 Apr 2022 11:30:51 +0200 Subject: [PATCH] cleanup --- FHEM/74_GardenaSmartDevice.pm | 13 +------------ controls_GardenaSmartDevice.txt | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 3ebf1b3..d37cdca 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -873,17 +873,6 @@ sub setState { # - STATE=open & watering-watering_timer_1_duration != 0 && watering-watering_timer_1_state=idle (?) & scheduling-schedules_paused_unti != '' #RigReadingsValue if ( AttrVal( $name, 'model', 'unknown' ) eq 'watering_computer' ){ - # Ventil Offen - if ( ReadingsVal( $name, 'watering-watering_timer_1_duration', 0 ) =~ m{\A[1-9]([0-9]+)?\z}xms ) { - - } else { - # Ventil zu - - } - - - - my $state_string = ReadingsVal( $name, 'watering-watering_timer_1_duration', 0 ) =~ m{\A[1-9]([0-9]+)?\z}xms @@ -1086,7 +1075,7 @@ sub ReadingLangGerman { 'paused until %s' => 'pausiert bis %s', 'watering. %s minutes remaining' => 'Wird bewässert. %d Minuten verbleibend', - 'next timer %s' => 'Nächste Bewässerung: %s', + 'next timer: %s' => 'Nächste Bewässerung: %s', ); diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 339457b..6d9189b 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ UPD 2022-03-29_13:42:09 49520 FHEM/73_GardenaSmartBridge.pm -UPD 2022-04-07_11:09:47 62041 FHEM/74_GardenaSmartDevice.pm +UPD 2022-04-07_11:30:43 61858 FHEM/74_GardenaSmartDevice.pm