Fix ble006 for the new converter format#1352
Conversation
|
@AlexxIT please let me know if there is any concerns on this PR. The PR has been working very well for me for the last few weeks. And I also put an article in Chinese that share my experience around this device in a Chinese Home Assistant forum https://bbs.hassbian.com/thread-25298-1-1.html with a video demo there. |
|
Sorry. Haven't looked at it yet. So many other projects. |
|
good to know, thx. |
|
It has been 8 months since I raised this PR. Is there anything I can help to get this merged? |
|
Not an elegant solution, although it works. Huge number of action values. |
007adde to
a1ab25b
Compare
@AlexxIT think you had a different interpertation of data of the knob event this device reports when you converts to the new format. I have rewrote it (the chip does not support more than 4 buttons so the developer to override the rotation data and encode 8 button actions into it). Please see comments in the code for details.
Feel free to streamline the code or the event name if we can make it shorter without being hard to undersrtand.