Hey folks. I have an interesting setup i'm trying to make. I have a ceiling fan with a light and a fan. The whole thing is powered from the room's lightswitch, but is ultimately controlled by a separate remote. I want to automate this in the following way:
I will build some type of way to spoof the remote commands from my HA installation. Likely some ESP32 based something with a little RF transmitter. This will allow independent control of the fan and the light, from HA. However, I would like to control the light using the lightswitch still. The muscle memory of operating a light switch is deeply embedded and hard to change, lol.
What I'm hoping for is a switch that can be in the same box, and be programmed into Home Assistant in such a way that when I turn the switch off, it commands Home Assistant to turn off the light, but doesn't actually cut the power off to the circuit, so the fan can remain on.
The ability to actually deactivate the whole circuit from inside Home Assistant would be nice to have as well.
Hope that makes sense. I've never worked with a smart switch before, only smart plugs, so I'm just not fully knowledgeable on what's possible.
Thanks in advance!