Closed erljef closed 4 years ago
I have merged your PR, and subsequently modified the change to handle the Kangtai group on & off commands as well. Because the BBSB & CONRAD types have the same command set, I have combined the switch cases.
Thanks for your contribution!
I'm using node-red-contrib-rfxcom together with Home Assistant and the message that is created when I use one of my remotes with the KANGTAI subtype doesn't contain the command, making it impossible to update the switch in Home Assistant based on what the remote does.
This PR adds the On and Off commands to the message payload following the same pattern the other subtypes use.
Thank you for this library, it neatly solves a bunch of my home automation cases using the RFXtrx433.