From 6ce4b352b4ab060836f31a715931e50d7151a0fd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 23 Jun 2022 12:15:10 +0200 Subject: [PATCH] fix --- CHANGED | 2 +- FHEM/74_GardenaSmartDevice.pm | 2 +- controls_GardenaSmartDevice.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGED b/CHANGED index 282cd28..1c79d32 100644 --- a/CHANGED +++ b/CHANGED @@ -1 +1 @@ - dry run + debug stuff diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 2f52899..ede4f44 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -768,7 +768,7 @@ sub WriteReadings { if ( defined( $propertie->{value} ) && $decode_json->{abilities}[$abilities]{name} eq 'watering' && $propertie->{value}{duration} > 0 ){ - Log3 $name, 2, "[DDebug] " . RigReadingsValue($hash, Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp}); + Log3 $name, 2, "[DDebug] " . RigReadingsValue($hash, Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp})); my $dt = RigReadingsValue($hash, Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp}), "%Y-%m-%d %H:%M:%S"); Log3 $name, 2, "[DEBUG] $dt"; my $ndt = Time::Piece::localtime->new; diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 6c079ef..07bac3b 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ UPD 2022-06-21_08:17:57 49520 FHEM/73_GardenaSmartBridge.pm -UPD 2022-06-23_12:14:22 71345 FHEM/74_GardenaSmartDevice.pm +UPD 2022-06-23_12:15:06 71346 FHEM/74_GardenaSmartDevice.pm