Home Assistant Node Red and Service call node and Domain

Hi I’ve been using Node Red for a while, but I’m still a newbie in practice. Here’s my simple question. To use node red to turn on a light. an injection followed by the service node. The setup of my service node involves the domain, service and entity. For domain, if I use homeassistant it works, but if I use light, it doesn’t work.


Thanks for your help.
Steve

Use light in domain

In home assistant goto dev tools → services and try the light.turn_on service. If it doesn’t work there it won’t work in NR. Also, is the entity is definitely a light and not a switch?