Try searching for your automation.entity_id - like in my case it’s something like automation.notify_washer_done (the original entity id of my automation, found via the developer - states tab). Then if I search using that in my YAML I’d see entity_id: automation.notify_washer_done, and add the context to see the full service call:
service: automation.turn_on
target:
entity_id: automation.notify_washer_done
data: {}
Assuming it’s an automation or script your should find it in the related .yaml file and can scroll up to see the actual automation or script source.