From 5bcd906cee9f0e16ee92e245aabca558d6842e03 Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Sun, 11 Nov 2018 16:56:09 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix setPosSetCmd Object git-svn-id: https://svn.fhem.de/fhem/trunk@17730 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/73_AutoShuttersControl.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 243263eac..d3bb8dd25 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 73_AutoShuttersControl: fix setPosSetCmd Object - bugfix: 73_AutoShuttersControl: fix parts of Commandref - bugfix: 98_SmarterCoffee: fix Undefined subroutine &SmarterCoffee::fhem - feature: 72_TA_CMI_JSON: added Logging Analog/Digital and RAS values. diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 8e91bc6c0..5bedb68cd 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -38,7 +38,7 @@ package main; use strict; use warnings; -my $version = "0.2.0.2"; +my $version = "0.2.0.3"; sub AutoShuttersControl_Initialize($) { my ($hash) = @_; @@ -670,7 +670,7 @@ sub ShuttersDeviceScan($) { $shutters->setLastPos( $shutters->getStatus ); $shutters->setDelayCmd('none'); $shutters->setNoOffset(0); - $shutters->setPosSetCmd( $posSetCmds{ $hash->{TYPE} } ); + $shutters->setPosSetCmd( $posSetCmds{ $defs{$_}->{TYPE} } ); } $hash->{NOTIFYDEV} = $hash->{NOTIFYDEV} . $shuttersList;