From 3ae0174d4729528a2c7138aedad555e45c0a7c5b Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 23 Apr 2016 15:16:10 +0000 Subject: [PATCH] FB_CALLLIST: delete also corresponding readings if a call gets deleted (Forum: #52158) git-svn-id: https://svn.fhem.de/fhem/trunk@11300 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/72_FB_CALLLIST.pm | 27 ++++++++++++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 39801a4af..dd09d8ddb 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # 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. + - change: FB_CALLLIST: delete also corresponding readings if a call gets + deleted - feature: 49_SSCam: Attribute "disable" to deactivate the module added - bugfix: 14_CUL_TCM97001: Fix battery bits. Fix Auriol receive diff --git a/fhem/FHEM/72_FB_CALLLIST.pm b/fhem/FHEM/72_FB_CALLLIST.pm index 910305924..785dce952 100755 --- a/fhem/FHEM/72_FB_CALLLIST.pm +++ b/fhem/FHEM/72_FB_CALLLIST.pm @@ -316,7 +316,7 @@ sub FB_CALLLIST_Notify($$) FB_CALLLIST_cleanupList($hash); # Inform all FHEMWEB clients - FB_CALLLIST_updateFhemWebClients($hash) if(grep(m/^(?:ATTR|DELETEATTR)$/, @{$d->{CHANGED}})); + FB_CALLLIST_updateFhemWebClients($hash) if(grep(m/^(?:ATTR|DELETEATTR)/, @{$d->{CHANGED}})); # save current list state to file/configDB FB_CALLLIST_saveList($hash); @@ -741,7 +741,6 @@ sub FB_CALLLIST_list2html($;$) $ret .= '