Node red entity switch

Dear people, can I switch a switch with an entity in Node Red. I already have the entity button visible and working in the dashboard of Home Asstant. It is not possible to get a switch to work (see photo)

As you can see I am a fairly untrained user :smiley: :smiley:

.Knipsel 1

Use an “events:state” instead of “entity” to flow its state to the next switch (call service).

OK thanks. that works. Now i still have a connecting question. I want to toggle multiple switches with 1 float button in node red.
how could I make that the easiest

Float button? What is that?

You can have multiple lines to switches and from switches.

If the solution was given above, “mark a solution” please.