I have an NSPanel in a dock on my bedside table flashed with ESPHome Blueprint and is all working well.
I was wondering if I bought a standard desk lamp with a switch on the wire to go on the bedside table, could I cut the switch out and use the relay to turn the lamp on and off. In my head I figure if I put the neutral from the plug and lamp end together into the neutral on the NSPanel, and then the live from the plug into the L input and the then live from the lamp into relay 1, would that work?
I’m just wondering if this would be safe/functional to do like this?