mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-14 21:49:12 +00:00
95_holiday.pm: doc change: clarify $we source (Forum #98583)
git-svn-id: https://svn.fhem.de/fhem/trunk@18983 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cb50ebd6dc
commit
1623ea49b6
@ -385,10 +385,11 @@ holiday_FW_detailFn($$$$)
|
|||||||
will be set to the corresponding values, else the state is set to the text
|
will be set to the corresponding values, else the state is set to the text
|
||||||
none. Most probably you'll want to query this value in some perl script:
|
none. Most probably you'll want to query this value in some perl script:
|
||||||
see Value() in the <a href="#perl">perl</a> section or the global attribute
|
see Value() in the <a href="#perl">perl</a> section or the global attribute
|
||||||
<a href="#holiday2we"> holiday2we</a>.<br> The file will be reread once
|
<a href="#holiday2we"> holiday2we</a>.<br>
|
||||||
every night, to compute the value for the current day, and by each get
|
Note: since March 2019 the IsWe() function (and $we) are accessing the
|
||||||
command (see below).<br>
|
state, tomorrow and yesterday readings, and not the STATE internal.<br>
|
||||||
<br>
|
The file will be reread once every night, to compute the value for the
|
||||||
|
current day, and by each get command (see below).<br> <br>
|
||||||
|
|
||||||
Holiday file definition:<br>
|
Holiday file definition:<br>
|
||||||
The file may contain comments (beginning with #) or empty lines.
|
The file may contain comments (beginning with #) or empty lines.
|
||||||
@ -534,10 +535,12 @@ holiday_FW_detailFn($$$$)
|
|||||||
|
|
||||||
Meistens wird dieser Wert mit einem Perl Script abgefragt: siehe Value() im
|
Meistens wird dieser Wert mit einem Perl Script abgefragt: siehe Value() im
|
||||||
<a href="#perl">perl</a> Abschnitt oder im globalen Attribut <a
|
<a href="#perl">perl</a> Abschnitt oder im globalen Attribut <a
|
||||||
href="#holiday2we"> holiday2we</a>.<br> Die Datei wird jede Nacht neu
|
href="#holiday2we"> holiday2we</a>.<br>
|
||||||
eingelesen um den Wert des aktuellen Tages zu erzeugen. Auch jeder "get"
|
Achtung: Seit März 2019 verwendet die IsWe() Funktion (und $we) die
|
||||||
Befehl liest die Datei neu ein.
|
state, tomorrow und yesterday Readings, und nicht mehr das STATE
|
||||||
|
Internal.<br>
|
||||||
|
Die Datei wird jede Nacht neu eingelesen um den Wert des aktuellen Tages zu
|
||||||
|
erzeugen. Auch jeder "get" Befehl liest die Datei neu ein.<br>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
Holiday file Definition:<br>
|
Holiday file Definition:<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user