Confusion about how to automate state+ 2 times device to work

I have a state (=x) which I want when it is on a device will work at 8:00 and and 11:00,
how do I automate that?
I prefer not in yaml

solved
thanks

Share what you have tried and clarify what you are trying to do, it only makes it harder if you are vague. What will trigger the automation… reaching the specified times, the state changing to x, or both? What will keep the actions from occuring … the time, the state not being x, or both?

sorry you are right
in the mean time I solved it myself
I will delete
thank you