devspec: attr=value

git-svn-id: https://svn.fhem.de/fhem/trunk@335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-01-17 10:01:56 +00:00
parent 9b9e0836a3
commit 736adb0179
3 changed files with 53 additions and 20 deletions

View File

@@ -225,8 +225,10 @@ A line ending with \ will be concatenated with the next one, so long lines
<li>a range of devices, separated by dash (-)</li>
<li>a regular expression, if the the spec contains on e of the following
characters: ^*[]$</li>
<li>an internal attribute of the device, followed by a colon and then a
regexp for this attribute. Known attributes are DEF, STATE and TYPE.</li>
<li>an attribute of the device, followed by an equal sign (=) and then a
regexp for this attribute. As attribute you can specify either attributes
set with the attr command or one of the "internal" attributes DEF, STATE
and TYPE.</li>
</ul>
Example:
<ul>
@@ -236,8 +238,9 @@ A line ending with \ will be concatenated with the next one, so long lines
<code>set lamp.* on</code><br>
<code>set lamp1-lamp3 on</code><br>
<code>set lamp1-lamp3,lamp3 on</code><br>
<code>list DEF:1234.*</code><br>
<code>list TYPE:FS20</code><br>
<code>set room=kitchen off</code><br>
<code>list disabled=</code><br>
<code>list TYPE=FS20</code><br>
</ul>
Notes:
<ul>