From e7cc043c4d17f36d1651ccee35ccbff100f18b56 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@7260 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/91_notify.pm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/fhem/FHEM/91_notify.pm b/fhem/FHEM/91_notify.pm index 1936d8bd3..5bd6117b7 100755 --- a/fhem/FHEM/91_notify.pm +++ b/fhem/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. -
  • showTriggerTime
    - Show the timestamp of the last execution as the status (STATE) of the - notify instance. Default is 1 (on). -
  • -
  • addStateEvent
    The event associated with the state Reading is special, as the "state: " @@ -562,11 +557,6 @@ notify_fhemwebFn($$$$) Meldungen im Log zu haben.
  • -
  • showTriggerTime
    - Zeigt den Zeitstempel der letzten Ausführung als Status an. - Voreinstellung ist 1 (an). -
  • -
  • addStateEvent
    Das mit dem state Reading verknüpfte Event ist speziell, da das