New user, first post. Really enjoying my Hubitat, and looking forward to being more involved in this community.
Question.. Is there a way to run a rule when a command is sent to turn on a device, prior to the device turning on? Or is there a way to disable a device, and only send the command to turn it on if a rule is true?
A little background... I've installed a smart outlet for my garage door opener, which is connected to a relay. When the garage door outlet is turned on, my garage door opens/closes. I've also purchased a BeSense z-wave contact sensor for the garage door. After buying this, I quickly realized that, while compatible with HE, it is not compatible with Amazon. I'd like to be able to control the garage door, but only to close (if open). So, ideally I'd like to ask Alexa to "close the garage door", at which point it would first check if the contact sensor is open, and then do nothing if it is closed, or close it (if sensor is open). I'm doing this, because saying "close the garage door" will open or close it, as it is. Is this possible using rule machine or do I need to create an Alexa skill for the contact sensor?
Appreciate any help! Thank you!