mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-15 05:10:50 +00:00
This works around the sengled bulbs not following the ZCL spec and using the value 0xFF as a valid level (the spec says it should be invalid). It does this by manually setting the level of the bulb to 0xFE (SmartThings 100%) when it is configured, or if it previously had a level set, manually setting it to that value. This avoids the issue of the bulb reporting 0xFF and having the library ignore it because it is an invalid value. This resolves: https://smartthings.atlassian.net/browse/ICP-691