Example of description in XML
1<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
2 <contains addr="140:8" state="1"/>
3 <contains addr="140:24" state="1:250:0" />
4 <contains addr="140:32" state="1:250:250:250:0"/>
5 <automation door-sensors="146:24" enabled="yes" illumination-level="50" time-interval="60" type="on-by-door"/>
6</item>
Parameters of contains
Name | type and variety | description |
---|---|---|
id* | number 1..2048 | Executive device ID |
sub-id* | number 1..255 | executive device sub-id |
state* | number | Status sent to the executor |
* – required fields