Run automation on datetime delivered by sensor

Hi,
my electricity provider has different prices each hour (Awattar). Now, I would to interrupt my heating pump during the 2 most expensive hours. I already have the start datetime of these 2 most expensive hours (see Problem in building a JSON list of data - #29 by Riesi) as a datetime on an entity.
Now I am trying to trigger an automation exactly at this point in time. How can I do that?
Br, Riesi

You need to add device_class: timestamp to your sensor. See here:

Ah. That was it. Sensor is already timestamp, but it didn’t appear in the UI Configuration of the trigger.
Editing in yaml helped.

platform: time
at: sensor.awattar_one_hour_max_timestamp

Next (hopefully last) question would be: To run an automation when the hour passed, How can I add 1h to that?
at: sensor.awattar_one_hour_max_timestamp + “01:00” gives me

“Message malformed: Expected HH:MM, HH:MM:SS or Entity ID with domain ‘input_datetime’ or ‘sensor’ @ data[‘at’][0]”

Thank you!

You can’t within the sensor: the at parameter does not accept a template. You could create a template sensor that is one hour later than your existing one and trigger from that.