Ask for user user input about time to turn on switch

Hi there
I have a table dishwasher without a timer that I would love an automation for to save power.
The dishwasher remembers it’s program when power is out.

Is it possible to make an automation where
I push a button on Lovelace
It turns or smart plug
Asks me when to turn it on the next 24 hours
Then turns it on at the specified time?

Is automations with userinput even possible like this?

Thank you all in advance!

/Thrawn

P.s. I am unsure if this is the right forum to use. If not I appligize, please point me in the right direction :slight_smile:

Can’t you just add an input_datetime on your dashboard?
If now() < input_datetime => push button.
It’s kind of the reverse of what you asked for but should do the same thing.

1 Like

Thank you so much for your help !!

Not good with script but I think I got it working like this in the gui :slight_smile: