I got a solution guys!
Create a duplicate automatic automation.
For example: you already have an automation at 11pm that turns a light off.
Good.
Create a duplicate automation that does exactly the same thing and call it “dummy”.
Now go to your automation that requires a delay > 1hour.
Create it with:
Action: add action with whatever you beed
Delay 1hr
Action: add action > smart scenes > enable/disable auto scenes > select your dummy automation > enable
Now add as many 1h delays as you want and always add again the dummy automation after!
Example:
I need a light to go on 4hours, then turn off.
Action: turn light on
Delay 1 hr
Dummy automation: enable
Delay 1hr
Dummy automation: enable
Delay 1 hr
Dummy automation: enable
Delay 1 hr
Action: turn the light off
You are welcome guys