From eabd23e4b87c3c38bac5a533807ea6c9f419f57d Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 19 Dec 2014 12:50:49 +0000 Subject: [PATCH] 91_notify.pm: change showTriggerTime attribute name to showtime (Forum #30636) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7260 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/91_notify.pm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/FHEM/91_notify.pm b/FHEM/91_notify.pm index 1936d8bd3..5bd6117b7 100755 --- a/FHEM/91_notify.pm +++ b/FHEM/91_notify.pm @@ -15,7 +15,7 @@ notify_Initialize($) $hash->{DefFn} = "notify_Define"; $hash->{NotifyFn} = "notify_Exec"; $hash->{AttrFn} = "notify_Attr"; - $hash->{AttrList} = "disable:0,1 disabledForIntervals forwardReturnValue:0,1 showTriggerTime:0,1 addStateEvent:0,1"; + $hash->{AttrList} = "disable:0,1 disabledForIntervals forwardReturnValue:0,1 showtime:0,1 addStateEvent:0,1"; $hash->{SetFn} = "notify_Set"; $hash->{FW_detailFn} = "notify_fhemwebFn"; } @@ -90,7 +90,7 @@ notify_Exec($$) Log3 $ln, 3, "$ln return value: $r" if($r); $ret .= " $r" if($r); $ntfy->{STATE} = - AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active'; + AttrVal($ln,'showtime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active'; } } @@ -375,11 +375,6 @@ notify_fhemwebFn($$$$) FHEMWEB to display this value, when clicking "on" or "off", which is often not intended. -