My first "complex" flow..why is the flow still running when a binary condition is off in Home assistant?

hi all!

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

here is an how it looks

and here is the json linked (dont have attaching rights yet in the forums sorry):

any Clue what im missing?

I did check the state in Home assistant of course to see when it both goes on and off and deployed each time after that

best

Z

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

Craig

thx so much @craigcurtin

even tried with a poll state to see if the vacation mode is off (which I verified in the entity state) but it still launches the presence faker node

strange im probably doing something very wrong :smiley: