This pull request refactors the write loop logic in the PlejdApp class and removes duplicate commands. This improves the efficiency and reliability of the write loop process. This also fixes the issue where the lights wouldn't dim from flows.
Thank you!
Homey triggers both onoff and dim while dimming and I actually push the commands in reversed order. Going to use unshift instead of push to the writeQueue.
This pull request refactors the write loop logic in the PlejdApp class and removes duplicate commands. This improves the efficiency and reliability of the write loop process. This also fixes the issue where the lights wouldn't dim from flows.