Hello I got these entities as Switch

I’d like to turn it on if there is motion detected (binary sensor esphome)

what the call service node should look like?
Hello I got these entities as Switch
I’d like to turn it on if there is motion detected (binary sensor esphome)
In the switch node you should probably use lowercase on/off
. You can check this by going to dev tools, look for the entity in states and use what it shows there.
The entity should be just switch.relay1
as you’re typing the entity should auto populate.