A Fortrezz MiMo Lite would make quick work of this. Connect the trigger output to the inputs on the MiMo and trigger scenes based on the state of the input. Bob's your uncle. As a bonus you can use the relay output of the MiMo independently to control something else. I use a spare input on one of the units in my irrigation system to trigger a dim lights scene in the theater via an IR controlled relay I picked up for a few bucks.