Automation Trigger

Good day Trying to use this trigger:
Trigger:
platform: event
event_type: service registered
“Want to check switch.turn-on”

But don’t know where to write the “domain” and “service” per the documentation