There are always different ways to do the same thing in Rule Machine so you'll probably get a few differing suggestions. I'd have done the bit you've shown differently. rather than using a conditional (IF THEN) in the actions, I'd have made a conditional trigger:
'Garage Door contact reports open only if HSM armed Away'
I don't use HSM but I assume that option is available....
Here is an example where I've used my Front Door as the trigger, my Lounge Hue Lamp as the device and the status of my alarm system:
PS: If you decide to keep using your IF/THEN conditional rather than a conditional trigger (which is fine to do), be sure to add the 'END IF' after your actions unless it's a simple conditional.
Yeah I might be misunderstanding what the intent is. I think the light is to come on when the door is opened only if HSM is armed away then turn off when the door is closed OR HSM is disarmed (I guess it's to stop someone progressing further without disarming, the light acting as a warning?)
I have not set up HSM as I rely on Abode for the alarm and monitoring functions. But were I to do what I understood you wanted, I would first try something like this. But as another poster pointed out, there are many ways to go.
TRIGGER:
garage door reports changed
or
HSM mode changes
ACTIONS:
IF garage door contact reports open AND
HSM Status is Armed Away THEN
Set color: Garage HSM Light Red Level 100
ELSE IF
garage door contact reports closed OR
HSM status status is Standby THEN
Garage HSM Light OFF //or what ever you want
END IF