If Statement

  • 107 Views
  • Last Post 27 December 2013
smwein@gmail.com posted this 25 December 2013

will at just skip that step or not run the scene at all.


It'll actually abort the scene activation and nothing will activate with the scene at all.

Order By: Standard | Newest | Votes
Ryan-Scott posted this 25 December 2013

I have scene that turns off my lights and locks my door. Is there a way to check to see if the lock is already locked. If it is can I have the scene skip locking it. I don't want to waste the batteries and break lock by trying to lock it when it is already locked.

Thanks
Steven


Yes, you can add a condition that checks a "device at state." Have it check if the locks level is <= 0="" (unlocked).="" if="" the="" condition="" is="" not="" met,="" then="" it'll="" skip="" the="" scene.="" 0="" (unlocked).="" if="" the="" condition="" is="" not="" met,="" then="" it'll="" skip="" the="">

smwein@gmail.com posted this 26 December 2013

will at just skip that step or not run the scene at all.

rscott posted this 27 December 2013

will at just skip that step or not run the scene at all.


It'll actually abort the scene activation and nothing will activate with the scene at all.

Close