Automation Wait Time via input

Hi,

I want to trigger an automation via a button or toggle, I want the automation to ask me for the “wait time” when the button is pressed, this duration is then passed to the automation where it runs for x hours before reverting back to normal state.

I am competent with all this just not how to enable the input of a value on screen and pass it to the automation.

Any ideas would be a great help

Thanks in advance

I’am not sure if there is any way to “ask” the user for input. What you could do is create a “input number” on the dashboard above the button or toggle in which you input the wait time. Then you can use this wait time in your automation.

You might be able to do this with a browser mod custom pop-up card: