i have esp two relay board that i want to control my shutter with push button when i keep press it to go up and push button to go down something look like in the image
thank you for all the help

i have esp two relay board that i want to control my shutter with push button when i keep press it to go up and push button to go down something look like in the image
I suggest you search. There are many threads about using esphome with shutters, and equally many about using esphome with uart based relays.