2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

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
This commit is contained in:
rudolfkoenig 2014-12-19 12:50:49 +00:00
parent a0d68573ef
commit e7cc043c4d

View File

@ -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.</li>
<li>showTriggerTime<br/>
Show the timestamp of the last execution as the status (STATE) of the
notify instance. Default is 1 (on).
</li>
<a name="addStateEvent"></a>
<li>addStateEvent<br>
The event associated with the state Reading is special, as the "state: "
@ -562,11 +557,6 @@ notify_fhemwebFn($$$$)
Meldungen im Log zu haben.
</li>
<li>showTriggerTime<br/>
Zeigt den Zeitstempel der letzten Ausf&uuml;hrung als Status an.
Voreinstellung ist 1 (an).
</li>
<a name="addStateEvent"></a>
<li>addStateEvent<br>
Das mit dem state Reading verkn&uuml;pfte Event ist speziell, da das