Relay and Switch My Question

codes
Hello, my english is bad so i may write wrong, sorry.

I want to control my relay with both button and switch via esp home but I can’t. I don’t know if the commands are not working but can you help please

Not only you English is bad then, your pictures and yaml coding posting is also very bad :slight_smile: haha.

Can you post the full esphome yaml code and a more clear picture of the wiring?
Is ht esphome correctly integrated in you homeassitant already? can you see the entities and the state?
There is a jumper on the relay board. make sure it is on the picture.

Use the formatting button to format the code well when you post it here.