WTH can't we have one-time actions with timed durations?

i.e. execute something like ‘turn on night light for 30 mins’ once, without having to setup automations?

I was just about to post something similar. I would suggest a more general solution where it is possible to pass certain arguments to services (*.turn_on, *.turn_off etc.).

Possible (optional) arguments:

  • for: Duration until the call get’s reverted
  • delay: Schedule the actual service-execution to be delayed for the given time (like “turn off device in 30 minutes”)
  • at: Schedule the service-execution to be executed at the given time (like “turn on device at 10 p.m.”)

Yes, these all make sense!