2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +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:
zap 2020-01-29 16:20:24 +00:00
parent 17c759bfd5
commit b0eb51d825
2 changed files with 4 additions and 3 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: 88_HMCCU: Fixed next/return bug
- feature: 93_DbRep: new option "deleteOther" for minValue/maxValue available - feature: 93_DbRep: new option "deleteOther" for minValue/maxValue available
- feature: 98_weekprofile: new command get associations - feature: 98_weekprofile: new command get associations
- feature: 6.0 released - feature: 6.0 released

View File

@ -4,7 +4,7 @@
# #
# $Id$ # $Id$
# #
# Version 4.3.020 # Version 4.3.021
# #
# Module for communication between FHEM and Homematic CCU2/3. # Module for communication between FHEM and Homematic CCU2/3.
# #
@ -52,7 +52,7 @@ my %HMCCU_CUST_CHN_DEFAULTS;
my %HMCCU_CUST_DEV_DEFAULTS; my %HMCCU_CUST_DEV_DEFAULTS;
# HMCCU version # HMCCU version
my $HMCCU_VERSION = '4.3.020'; my $HMCCU_VERSION = '4.3.021';
# Constants and default values # Constants and default values
my $HMCCU_MAX_IOERRORS = 100; my $HMCCU_MAX_IOERRORS = 100;
@ -3383,7 +3383,7 @@ sub HMCCU_UpdateSingleDevice ($$$$)
# Check if update of device allowed # Check if update of device allowed
my $disable = AttrVal ($cltname, 'disable', 0); my $disable = AttrVal ($cltname, 'disable', 0);
my $update = AttrVal ($cltname, 'ccureadings', 1); 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 # Get device parameters and attributes
my $ccuflags = HMCCU_GetFlags ($ccuname); my $ccuflags = HMCCU_GetFlags ($ccuname);