diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index bcfa790..812c37a 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -605,6 +605,7 @@ sub WriteReadings { #Log3 $name, 1, " - IST ARRAY" if ( ref( $decode_json->{settings}[$settings]{value} ) eq "ARRAY"); if ( defined($settings) + && exists($decode_json->{settings}) && ( $decode_json->{settings}[$settings]{name} eq 'schedules_paused_until' || $decode_json->{settings}[$settings]{name} eq 'eco_mode' ) ) @@ -616,6 +617,7 @@ sub WriteReadings { $decode_json->{settings}[$settings]{id}; } } + if ( ref( $decode_json->{settings}[$settings]{value} ) eq "ARRAY" && $decode_json->{settings}[$settings]{name} eq 'starting_points' ) { diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 4484ca0..53e1128 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ UPD 2021-04-26_09:37:22 46169 FHEM/73_GardenaSmartBridge.pm -UPD 2021-04-26_09:39:11 48386 FHEM/74_GardenaSmartDevice.pm +UPD 2021-04-26_14:39:40 48444 FHEM/74_GardenaSmartDevice.pm