Use the light.turn_on
and switch.turn_on
services in the actions. They only require an entity id and have other advantages too. See: What happens if I have to replace a device - #2 by tom_l
You can use an event trigger instead of the device trigger. Automation Trigger - Home Assistant