Preface
Firstly, this isn’t a guide and if you don’t know how to be safe with mains electronics then I do not recommend trying this your self. Electric is dangerous and if dealt with improperly can hurt or even kill you.
If you missed the previous post about this topic, you can find it HERE.
Ok, this took me a little longer to get to than I wanted, but I have now completed my desk lamp and my partner’s desk lamp. While small victories, it can be really useful. I no longer have to get up to turn off my desk lamp when I am on the couch, nor do
I have to reach round the back of my desk to turn it off. When I don’t want to open home assistant to turn on a light, though, it is supper easy to use the switch as normal. With my partner’s lamp, I had to make two custom models which I will go into a little more detain on.