in Core 2023.7, services have the ability to return data after execution, it would be cool if this component had such an opportunity.
PS now this is solved by running and waiting for the event in parallel and because of this complex constructions
https://developers.home-assistant.io/docs/dev_101_services/#supporting-response-data