I'm currently testing with a relay board on an ESP module to control my household lighting.
A second ESP is placed in the wall behind the existing wall switches.
The wall switch is connected with a GPIO and a pull-up resistor.

This is working well, but when I use the software button in Domoticz, the 'old' hardware switch is in a wrong position.
I have to click twice on it to disable/enable the signal on the ESP module. Because of NO or NC contact.
Do you get my point?

I know that I should use a simple a push button,
example:
But I was wondering if some of you have experience with a household version like that
