2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-05 17:48:44 +00:00

notify: make showTriggerTime default

git-svn-id: https://svn.fhem.de/fhem/trunk@5370 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-03-30 07:18:42 +00:00
parent 535080db49
commit 63a05d01cd

View File

@ -70,7 +70,7 @@ notify_Exec($$)
}
if($found) {
$ntfy->{STATE} =
AttrVal($ln,'showTriggerTime',0) ? $dev->{NTFY_TRIGGERTIME} : 'active';
AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active';
Log3 $ln, 5, "Triggering $ln";
my (undef, $exec) = split("[ \t]+", $ntfy->{DEF}, 2);
@ -235,7 +235,9 @@ notify_Attr(@)
often not intended.</li>
<li>showTriggerTime<br/>
Replace STATE content 'active' by timestamp of last execution.</li>
Show the timestamp of the last execution as the status (STATE) of the
notify instance. Default is 1 (on).
</li>
</ul>
<br>