mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
HMCCU: Fixed return from sub bug
git-svn-id: https://svn.fhem.de/fhem/trunk@21072 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
17c759bfd5
commit
b0eb51d825
@ -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: 88_HMCCU: Fixed next/return bug
|
||||
- feature: 93_DbRep: new option "deleteOther" for minValue/maxValue available
|
||||
- feature: 98_weekprofile: new command get associations
|
||||
- feature: 6.0 released
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Version 4.3.020
|
||||
# Version 4.3.021
|
||||
#
|
||||
# Module for communication between FHEM and Homematic CCU2/3.
|
||||
#
|
||||
@ -52,7 +52,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
|
||||
my %HMCCU_CUST_DEV_DEFAULTS;
|
||||
|
||||
# HMCCU version
|
||||
my $HMCCU_VERSION = '4.3.020';
|
||||
my $HMCCU_VERSION = '4.3.021';
|
||||
|
||||
# Constants and default values
|
||||
my $HMCCU_MAX_IOERRORS = 100;
|
||||
@ -3383,7 +3383,7 @@ sub HMCCU_UpdateSingleDevice ($$$$)
|
||||
# Check if update of device allowed
|
||||
my $disable = AttrVal ($cltname, 'disable', 0);
|
||||
my $update = AttrVal ($cltname, 'ccureadings', 1);
|
||||
next if ($update == 0 || $disable == 1 || $clthash->{ccudevstate} ne 'active');
|
||||
return 0 if ($update == 0 || $disable == 1 || $clthash->{ccudevstate} ne 'active');
|
||||
|
||||
# Get device parameters and attributes
|
||||
my $ccuflags = HMCCU_GetFlags ($ccuname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user