From 1623ea49b61def3485403f1f60b2c4bfff1eb478 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Thu, 21 Mar 2019 08:27:47 +0000
Subject: [PATCH] 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
---
fhem/FHEM/95_holiday.pm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/fhem/FHEM/95_holiday.pm b/fhem/FHEM/95_holiday.pm
index 05b0161c2..a70d0355c 100644
--- a/fhem/FHEM/95_holiday.pm
+++ b/fhem/FHEM/95_holiday.pm
@@ -385,10 +385,11 @@ holiday_FW_detailFn($$$$)
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:
see Value() in the perl section or the global attribute
- holiday2we.
The file will be reread once
- every night, to compute the value for the current day, and by each get
- command (see below).
-
+ holiday2we.
+ Note: since March 2019 the IsWe() function (and $we) are accessing the
+ state, tomorrow and yesterday readings, and not the STATE internal.
+ The file will be reread once every night, to compute the value for the
+ current day, and by each get command (see below).
Holiday file definition:
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
perl Abschnitt oder im globalen Attribut holiday2we.
Die Datei wird jede Nacht neu
- eingelesen um den Wert des aktuellen Tages zu erzeugen. Auch jeder "get"
- Befehl liest die Datei neu ein.
-
+ href="#holiday2we"> holiday2we.
+ Achtung: Seit März 2019 verwendet die IsWe() Funktion (und $we) die
+ state, tomorrow und yesterday Readings, und nicht mehr das STATE
+ Internal.
+ Die Datei wird jede Nacht neu eingelesen um den Wert des aktuellen Tages zu
+ erzeugen. Auch jeder "get" Befehl liest die Datei neu ein.
Holiday file Definition: