Good holiday-decor question — answering as the UphillTech team:
It appears as black was treated as an always-on hot passthrough (maybe for the fan), and red was switched hot. You'll probably just use the black and white as per the instructions, disregarding red, which you can simply cap or leave connected to the source hot as it is now. LINE LOAD black --> red red ----> unused (leave disconnected or bundle with black, and cap) white --> blue Note that code may require that a manual switch be available, for safety on the stairs or ladder. You could install the controller alongside the switch and use the red conductor for it, leaving the black for the...
Full answer by isherwood: https://diy.stackexchange.com/a/304900 (CC BY-SA 4.0).
Need help with this? UphillTech.