a neweb loving playing in recent days with node-red and even more the fantastic community here!
so I have my first "complex" flow (a simple presence faker) I have created and it works very well apart from the trigger part
I have specified a state node to check if vacation mode is on or off in Home assistant and only if on launch the rest of the nodes.
but for some reason turning the state in Home assistant on and off won't have any effect and the whole sequence runs with both the vacation mode on and off
Most of the users here will not have the HA nodes (webhooks) installed - as such they will not be able to replicate your flow.
However i think that you actually want to trigger on the change of state (as this should be picked up by the webhook polling) rather than the actual State
You would be best off checking this in the NR 3rd party integrations in the HA forum
Let me have a quick look as i use HA as well and come back