I use ESPhome for this, loaded onto a standard TreatLife Smart Switch.
the switch has two 'modes': Interlocked and Always On
in interlocked mode, button press triggers the relay, just like every other switch
In Always On mode, the relay is closed (connected), providing power the bulbs. The button just sends a HoneAssistant event that triggers an automation turning the bulbs on.
I use ESPhome for this, loaded onto a standard TreatLife Smart Switch.
the switch has two 'modes': Interlocked and Always On
in interlocked mode, button press triggers the relay, just like every other switch
In Always On mode, the relay is closed (connected), providing power the bulbs. The button just sends a HoneAssistant event that triggers an automation turning the bulbs on.