Run automation after service finished

Hi all,

I do some calculations and actions depending on the room temperatures.
The temperature is measured by an Honeywell EvoHome and synced to HomeAssistant every 180s
For the moment i have 2 automations running to do some calculations on the temps, once this is optimized i want to couple some actions to it like disable the boiler, …
For the moment the 2 automations that do the calculations work but are time triggered so i am trying to streamline the process and would like to run the automations after the EvoHome Service (evohome.refresh_system) has finished running but i cant figure out where to start with this so any help, tips, examples would be helpfull.

Thanks in advance.

Just found it myself by using a binary sensor to check the temps and using that state i can run my automation.