Still a newby in NodeRed.
I'm using HA (home-assistant) to control some (z-wave) devices which are in HomeSeer. So I created a Flow which switch On or Off the device when the Inject button is pressed in NodeREd.
Now I'm struggling how to get the On Off (Injected) from HomeAssistant (switch or button).
So the On Off injection works. The switch will work only If I have one part in it (the on or off part) How to get the switch to also use or do the second part (Off)?