I have a Nest thermostat I have hooked up to SmartThings. What I’d like to create is an app to send me a notification if the thermostat turns on (either heat or cool) and any window with a contact sensor is open. It doesn’t look like I’m able to subscribe to an event:
subscribe(thermostat, "thermostat.heat", turnedOn) subscribe(thermostat, "thermostat.cool", turnedOn)
I’ve played around with other events, such as “on”, “thermostat.on”, etc. Any thoughts? I’m also not able to get these to fire using virtual devices.