- Code: Select all
if (indigo.variable[123456].value == home):
indigo.sendSceneOn(20)
else
indigo.sendSceneOff(20)
- Code: Select all
if (indigo.variable[123456].value == home):
indigo.sendSceneOn(20)
else
if (indigo.variable[123456].value == away):
indigo.sendSceneOn(30)
else
if (indigo.variable[123456].value == vacation):
indigo.sendSceneOn(40)
Also, what is the proper wording to replace the above sendScene with:
- execute action group
- execute trigger
And, what is the proper wording to replace the above ON and OFF with:
- instant ON
- instant OFF
Should it read = or ==