For the « for 2h » part, you can create a scene that will « turn on » a fake MQTT device, then « turn it off » after 2 hours.
In parallel, you run your « every 20 min » scene only if your fake device is on.
For the « for 2h » part, you can create a scene that will « turn on » a fake MQTT device, then « turn it off » after 2 hours.
In parallel, you run your « every 20 min » scene only if your fake device is on.