diff --git a/CHANGED b/CHANGED index 3ab596c..e4fe25a 100644 --- a/CHANGED +++ b/CHANGED @@ -1 +1 @@ - [enhancment] - schedules + fix diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 0155883..eda3856 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -774,7 +774,7 @@ sub WriteReadings { ) { readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_events_count', scalar ($decode_json->{scheduled_events} ) ); - my $valve_id, $event_id = 1; # ic24 [1..6] | wc, pump [1] + my $valve_id =1; my $event_id = 1; # ic24 [1..6] | wc, pump [1] for my $event_schedules ( @{ $decode_json->{scheduled_events} } ) { $valve_id = $event_schedules->{valve_id} if ( exists($event_schedules->{valve_id} ) ); #ic24 diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 1319d04..dc1cd86 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_12:42:27 74216 FHEM/74_GardenaSmartDevice.pm +UPD 2022-07-08_12:43:08 74222 FHEM/74_GardenaSmartDevice.pm