2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-26 10:34:52 +00:00

73_AutoShuttersControl: fix setPosSetCmd Object

git-svn-id: https://svn.fhem.de/fhem/trunk@17730 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2018-11-11 16:56:09 +00:00
parent 1dc1a962eb
commit 5bcd906cee
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # 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: 73_AutoShuttersControl: fix parts of Commandref
- bugfix: 98_SmarterCoffee: fix Undefined subroutine &SmarterCoffee::fhem - bugfix: 98_SmarterCoffee: fix Undefined subroutine &SmarterCoffee::fhem
- feature: 72_TA_CMI_JSON: added Logging Analog/Digital and RAS values. - feature: 72_TA_CMI_JSON: added Logging Analog/Digital and RAS values.

View File

@ -38,7 +38,7 @@ package main;
use strict; use strict;
use warnings; use warnings;
my $version = "0.2.0.2"; my $version = "0.2.0.3";
sub AutoShuttersControl_Initialize($) { sub AutoShuttersControl_Initialize($) {
my ($hash) = @_; my ($hash) = @_;
@ -670,7 +670,7 @@ sub ShuttersDeviceScan($) {
$shutters->setLastPos( $shutters->getStatus ); $shutters->setLastPos( $shutters->getStatus );
$shutters->setDelayCmd('none'); $shutters->setDelayCmd('none');
$shutters->setNoOffset(0); $shutters->setNoOffset(0);
$shutters->setPosSetCmd( $posSetCmds{ $hash->{TYPE} } ); $shutters->setPosSetCmd( $posSetCmds{ $defs{$_}->{TYPE} } );
} }
$hash->{NOTIFYDEV} = $hash->{NOTIFYDEV} . $shuttersList; $hash->{NOTIFYDEV} = $hash->{NOTIFYDEV} . $shuttersList;