Thanks for this project and all the time in making this available for us.
I have few switches and some sensor that i am hooping to integrate in Home Assistant.
one is this one http://www.ebay.com.au/itm/Wireless-PIR-Infrared-IR-Motion-Auto-Sensor-Detector-Home-Security-Alarm-System-/401156569289?var=&hash=item5d66cb78c9:m:mA4IfQWJy4u95MF7EtGfXng
The problem i found is that it has only one play load one code there is no code sent for off just for on so i have no idea how to make it work in HA.
I had a look around in mqtt example but nothing worked if anyone can help or point me in the right direction will be grate.