From 9511bc56698d7022aaa67c865088d88724c27f96 Mon Sep 17 00:00:00 2001 From: zap <> Date: Mon, 10 Jun 2019 13:34:01 +0000 Subject: [PATCH] HMCCU: Fixed noInitialUpdate bug git-svn-id: https://svn.fhem.de/fhem/trunk@19590 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/88_HMCCU.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 5444698df..70e403bec 100644 --- a/fhem/CHANGED +++ b/fhem/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: 88_HMCCU: Fixed noInitialUpdate bug - bugfix: 70_BOTVAC: set robotSounds filter - feature: 70_BOTVAC: add pollingMode add preferences diff --git a/fhem/FHEM/88_HMCCU.pm b/fhem/FHEM/88_HMCCU.pm index 2a9d2a553..a51ac5eea 100755 --- a/fhem/FHEM/88_HMCCU.pm +++ b/fhem/FHEM/88_HMCCU.pm @@ -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); }