Hello I got Node-red dashboard and everything works, but I don’t know how to convert node-red nodes to home assistant node. I just wanna do a simple switch in home assistant.
I got switch node (On payload: 1, Off payload: 0) and mqtt out node
how to convert this to Home assistant switch and add it to interface? Thank you. I hope you relate, im just a newbie
edit: Do I have to do a custom entity to control the switch?