My latest project is a Hue-based notification SmartApp.
Part of it includes turning red to indicate that a door is open and then changing to green when the door closes. Currently, my only option is to do a runIn(60, …) which makes for a very long and somewhat random length notification.
Since Hub 2.0 will be doing most processing locally, is there any chance we could get access to groovy’s sleep() command or have an app timeout length of longer than 20 seconds?
Alternatively, I could loop through a bunch of slower commands as a sort of no-op, but calling that a hack is beyond generous.