dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Mode in State attribute in Hue Effects cluster as bitmap #7652

Closed ebaauw closed 6 months ago

ebaauw commented 7 months ago

As mentioned https://github.com/dresden-elektronik/deconz-rest-plugin/issues/7579#issuecomment-1934275146, the mode part of the State attributes in the Hue Effects cluster appears to be a bitmap. This PR simplifies the Javascript that parses the State attribute accordingly.

I want to run and test this for a while, before finalising the PR.

I have been running my installation with the changed fc03_state.js for two weeks now, and haven't seen any issues.

manup commented 6 months ago

Changed the mile stone since v2.26.1-beta is already released.