fhem.pl: Implament IsWe (Forum #98583)

git-svn-id: https://svn.fhem.de/fhem/trunk@18922 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-03-16 10:57:53 +00:00
parent 3227bf4f7b
commit 32c9c81876
3 changed files with 35 additions and 18 deletions

View File

@@ -1818,8 +1818,10 @@ The following local attributes are used by a wider range of devices:
fhem "set light on" } }<br>
define roll_en *07:45:00 { fhem "trigger SwitchAllRoll on" if(!$we) }<br>
define roll_en *08:30:00 { fhem "trigger SwitchAllRoll on" if($we) }<br>
</ul>
$we is equivalent to calling IsWe(), which optionally takes the arguments
"today", "yesterday" and "tomorrow". Note: for everything else "today" is
assumed without an error message.<br>
<br>
<li>