Countdown timer when using Call Service

Hi,

I wish to start a countdown timer when a service is called to boost my heating but can’t see how to fit this in to an automation.

I understand you would normally use the platform state but the boost facility has 3 options (30, 60, 120 or 240 minutes). When triggered it only changes to state to boosted so I can’t use this value to start a timer.

Looking in to the call service data I can see the following info;

service: wiser.boost_heating
entity_id: climate.wiser_landing
time_period: 30 (or 60,120,240)

So basically want I want to achieve is when say a 30 minute boost is activation a 30 minute countdown timer starts, I therefore think I’d need to set up 4 automatons in total.