Node Red switching things on instead of off

I have some strange behaviour (running node red v1.3.3 in HASSIO) where I call a service to switch off a switch, but it switches it on instead? Any ideas? As you can see below I am calling the turn-off but it fires turn_on?!

image

image

Any ideas welcome.

PS. I have asked the NR forum - they said this is HA causing this?

I can see switch turned on called and from the docs

If the incoming message has a payload property with domain, service set it will override any config values if set.

what’s the rest of the flow?

@Mikefila you are the man, that was it! I added a switch node to force an off command! I did not realise you can override these.