How does Node-RED ha-entity work

Hi

I tried a lot of combinations but I cannot create an entity in HomeAssistant using a ha-entity in Node-RED. I saw the warning about the need for the Node-RED custom component to be installed and I think I did everything as I should. I don’t see any errors in the logs. Can a ha-entity even be used to create a switch in lovelace?

Merijn