Testing Channel State / IF Channel[state] logic for toggles.
What is the language / method for testing against channel state?
Example
As always, thanks for your help everyone!
Example
Button_Event (device, channel)
{
IF (anotherdevice[channel_x] == ON)
{
// do something
}
}
As always, thanks for your help everyone!
Comments
Button_Event (device, channel) { if ( ([anotherdevice, channel_x]) ) { // do something } }Thanks!!!