openhab-core/demo/app/runtime/conf/rules/demo.rules

11 lines
246 B
Plaintext
Raw Normal View History

rule "Initialize demo items"
when
System started
then
DemoLocation.postUpdate("52,9")
DemoContact.postUpdate(OPEN)
DemoString.postUpdate("Hello SmartHome!")
DemoDateTime.postUpdate(new DateTimeType())
DemoNumber.postUpdate(12.34)
end