condition

The condition node adds a condition to a behaviour, so complex instructions can be built up. There are any number of condition nodes per command, and all conditions must be met before any actions are taken

If the specified house/appliance code are in the specified state, the condition evaluates to true.

hcode character The house code of the condition
acode decimal integer The appliance code of the condition
state one of "on" or "off" the state that the condition is checking for.