diff --git a/74_GardenaSmartDevice.pm b/74_GardenaSmartDevice.pm index b057503..b94905d 100644 --- a/74_GardenaSmartDevice.pm +++ b/74_GardenaSmartDevice.pm @@ -62,7 +62,7 @@ eval "use Encode qw(encode encode_utf8 decode_utf8);1" or $missingModul .= "Enco eval "use JSON;1" or $missingModul .= "JSON "; -my $version = "0.0.43"; +my $version = "0.0.44"; @@ -265,7 +265,7 @@ sub GardenaSmartDevice_Set($@) { $hash->{helper}{deviceAction} = $payload; - readingsSingleUpdate( $dhash, "state", "send command to gardena cloud", 1); + readingsSingleUpdate( $hash, "state", "send command to gardena cloud", 1); IOWrite($hash,$payload,$hash->{DEVICEID},$abilities); Log3 $name, 4, "GardenaSmartBridge ($name) - IOWrite: $payload $hash->{DEVICEID} $abilities IODevHash=$hash->{IODev}";