2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 14:47:00 +00:00

HMCCU: Fixed noInitialUpdate bug

git-svn-id: https://svn.fhem.de/fhem/trunk@19590 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2019-06-10 13:34:01 +00:00
parent 2fd297e130
commit 9511bc5669
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.
# Do not insert empty lines here, update check depends on it.
- bugfix: 88_HMCCU: Fixed noInitialUpdate bug
- bugfix: 70_BOTVAC: set robotSounds filter
- feature: 70_BOTVAC: add pollingMode
add preferences

View File

@ -4,7 +4,7 @@
#
# $Id$
#
# Version 4.3.015
# Version 4.3.016
#
# Module for communication between FHEM and Homematic CCU2/3.
#
@ -2660,7 +2660,7 @@ sub HMCCU_SetRPCState ($@)
HMCCU_Log ($hash, 1, $msg, undef) if (defined ($msg));
HMCCU_Log ($hash, 1, "All RPC servers $rpcstate", undef);
DoTrigger ($name, "RPC server $rpcstate");
if ($rpcstate eq 'running') {
if ($rpcstate eq 'running' && defined ($filter)) {
my ($c_ok, $c_err) = HMCCU_UpdateClients ($hash, '.*', 'Attr', 0, $filter);
HMCCU_Log ($hash, 2, "Updated devices for interface filter $filter. Success=$c_ok Failed=$c_err", undef);
}