cyberslak
/lightsout
/amendments
/ha.c
Amendments on March 17, 2025
cyberslak made amendment
24
17 days ago
Amendments on March 15, 2025
cyberslak made amendment
22
19 days ago
Amendments on March 13, 2025
Work around HA brightness range quirks
Some lights in HA have a brightness range of 1-255, and some of 1-254 (notably Zigbee lights), without any way of distinguishing the two. To handle both, we internally use the 1-255 range (0 = off) and map 254 to 255 when requesting the entity state. This means we may show 99.6% brightness as 100%, but that is far better than showing it as 99% and being unable to set a light to 100%.
Amendments on March 9, 2025
cyberslak made amendment
7
25 days ago
Amendments on March 7, 2025
cyberslak made amendment
1
27 days ago
1