diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index d8e9d1a..176d087 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -653,6 +653,20 @@ sub WriteReadings { || $decode_json->{abilities}[$abilities]{name} . '-' . $propertie->{name} eq 'light-light' ) ); + + readingsBulkUpdateIfChanged( + $hash, + $decode_json->{abilities}[$abilities]{name} . '-' + . $propertie->{name} + . '_timestamp', + RigReadingsValue( $hash, $propertie->{timestamp} ) + ) + if ( + defined( $propertie->{value} ) + && ( $decode_json->{abilities}[$abilities]{name} . '-' + . $propertie->{name} eq 'mower_timer-mower_timer' + ) + readingsBulkUpdateIfChanged( $hash, diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 575fb6c..4fee53f 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ -UPD 2021-06-28_10:47:43 47009 FHEM/73_GardenaSmartBridge.pm -UPD 2021-06-09_09:52:26 55505 FHEM/74_GardenaSmartDevice.pm +UPD 2021-06-28_15:56:58 47009 FHEM/73_GardenaSmartBridge.pm +UPD 2021-06-28_16:11:26 56085 FHEM/74_GardenaSmartDevice.pm