This commit is contained in:
Sebastian 2022-04-07 11:30:51 +02:00
parent 7113e9974e
commit d1b04b6a74
2 changed files with 2 additions and 13 deletions

View File

@ -873,17 +873,6 @@ sub setState {
# - STATE=open & watering-watering_timer_1_duration != 0 && watering-watering_timer_1_state=idle (?) & scheduling-schedules_paused_unti != '' # - STATE=open & watering-watering_timer_1_duration != 0 && watering-watering_timer_1_state=idle (?) & scheduling-schedules_paused_unti != ''
#RigReadingsValue #RigReadingsValue
if ( AttrVal( $name, 'model', 'unknown' ) eq 'watering_computer' ){ 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 ) =~ my $state_string = ReadingsVal( $name, 'watering-watering_timer_1_duration', 0 ) =~
m{\A[1-9]([0-9]+)?\z}xms m{\A[1-9]([0-9]+)?\z}xms
@ -1086,7 +1075,7 @@ sub ReadingLangGerman {
'paused until %s' => 'pausiert bis %s', 'paused until %s' => 'pausiert bis %s',
'watering. %s minutes remaining' => 'Wird bewässert. %d Minuten verbleibend', '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',
); );

View File

@ -1,2 +1,2 @@
UPD 2022-03-29_13:42:09 49520 FHEM/73_GardenaSmartBridge.pm 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