fhem.pl: do not check for sat/sun if holiday2we contains weekEnd (Forum #101789)

git-svn-id: https://svn.fhem.de/fhem/trunk@19715 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-06-26 16:17:29 +00:00
parent 6074f545fb
commit 8207c6ebce
3 changed files with 22 additions and 14 deletions

View File

@@ -1544,14 +1544,16 @@ The following local attributes are used by a wider range of devices:
<a name="holiday2we"></a>
<li>holiday2we<br>
If this attribute is set, then the <a href="#perl">$we</a> variable
will be true, if the value of the <a href="#holiday">holiday</a>
variable referenced by this attribute is not none.<br>
If it is a comma separated list, then it is true, if one of the
referenced entities is not none.<br>
will be true, if it is either saturday/sunday, or the value of the <a
href="#holiday">holiday</a> variable referenced by this attribute is
not none.<br> If it is a comma separated list, then it is true, if one
of the referenced entities is not none.<br>
Example:<br>
<ul>
attr global holiday2we he
</ul>
Note: if one of the elements in the list is called weekEnd, then the
check for saturday/sunday is skipped.
</li><br>
<a name="httpcompress"></a>