mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
chore: move comment
This commit is contained in:
parent
f92a4b9e0a
commit
ea87e69d3d
1 changed files with 1 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ COLOR_ATTRS = { # Should ATTR_PROFILE be in here?
|
|||
|
||||
BRIGHTNESS_ATTRS = {
|
||||
ATTR_BRIGHTNESS,
|
||||
ATTR_WHITE_VALUE,
|
||||
ATTR_WHITE_VALUE, # White value is treated the same as brightness in all respects
|
||||
ATTR_BRIGHTNESS_PCT,
|
||||
ATTR_BRIGHTNESS_STEP,
|
||||
ATTR_BRIGHTNESS_STEP_PCT,
|
||||
|
|
@ -389,7 +389,6 @@ def _attributes_have_changed(
|
|||
)
|
||||
return True
|
||||
|
||||
# White value is treated the same as brightness in all respects
|
||||
if (
|
||||
adapt_brightness
|
||||
and ATTR_WHITE_VALUE in old_attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue