Current State Node Logic Help

I could use some help understanding the Current State Node. It seems that I can’t get the “True” branch to trigger. I am trying to set up a garage door reminder. Once an hour it will check to see if the door is open. My security system returns “Violated” or “Normal” depending on the state of the zone. So here is how I configured the Current State node:

In my mind, the way it will work is if the input contains “Violated”, the node will continue on the True output. Conversely, if it is not “Violated”, it should continue on the False output. But that isn’t what I am seeing at all.

Here is when the garage door was closed (i.e., “Normal”)

And here it is when it was open (“Violated”)

As you can see, in both cases it outputted on the “False” wire. And it did not trigger the google home speaker. I expected it to use the True output when it was Violated.

What am I missing?

Here’s the export of the flow, if it helps.

[{"id":"6fc3a265.af074c","type":"api-current-state","z":"28d25c73.8442a4","name":"Gar Door Open?","server":"3e7f7522.9e5aea","version":1,"outputs":2,"halt_if":"\"Violated\"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"sensor.ohdgardoornonalm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":570,"y":280,"wires":[["1039d21e.fc13ae","66a0ecd2.df5fc4"],["8a2f43cc.786d1"]]},{"id":"3e7f7522.9e5aea","type":"server","name":"Home Assistant","addon":true}]

First thought… try removing the “” around Violated. The payload is Violated, not "Violated".

See if that works first.

Yup, that was it!!!

Thanks :slight_smile: