Turn Off Switch When Smoke/CO is Detected

I created a simple SmartApp to turn off a switch when Smoke or CO is detected.

You can copy the code here:
https://gitlab.com/techwithjake/smartthings-custom/raw/master/smartapps/techwithjake/turn-off-smoke-sensed.src/turn-off-smoke-sensed.groovy

Let me know if you have any issues. I will continue to update when needed

4 Likes