diff --git a/CHANGED b/CHANGED index 243263eac..d3bb8dd25 100644 --- a/CHANGED +++ b/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/73_AutoShuttersControl.pm b/FHEM/73_AutoShuttersControl.pm index 8e91bc6c0..5bedb68cd 100644 --- a/FHEM/73_AutoShuttersControl.pm +++ b/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;