patch-ImplementationSmartIrrigationControl #25

Merged
marko merged 21 commits from patch-ImplementationSmartIrrigationControl into devel 2021-05-20 20:57:11 +00:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 20f5db1b2c - Show all commits

View File

@ -404,13 +404,13 @@ sub Set {
$payload = '"name":"close_all_valves","parameters":{}';
}
elsif ( $cmd =~ /.*ScheduleValve/ ){
my $valve_id = $1;
my $valve_id = $aArg->[0];
$abilities = 'irrigation_settings';
$service_id = $hash->{helper}->{'schedules_paused_until_'.$valve_id.'_id'};
$payload = '"settings":{"name":"schedules_paused_until_'
.$valve_id.
'", "value":"'
. ($cmd eq 'resumeScheduleValve') ? '' : '2040-12-31T22:00:00.000Z'
. $valve_id
. '", "value":"'
. ($cmd eq 'resumeScheduleValve' ? '' : '2040-12-31T22:00:00.000Z')
. '","device":"'
. $hash->{DEVICEID}
. '"}';

View File

@ -1,2 +1,2 @@
UPD 2021-05-14_15:51:47 46108 FHEM/73_GardenaSmartBridge.pm
UPD 2021-05-16_12:07:17 50823 FHEM/74_GardenaSmartDevice.pm
UPD 2021-05-16_12:22:12 50836 FHEM/74_GardenaSmartDevice.pm