From ea87e69d3d752263fe1e2441c320de2bc31a75ff Mon Sep 17 00:00:00 2001 From: Matt Forster Date: Mon, 26 Oct 2020 13:50:47 -0600 Subject: [PATCH] chore: move comment --- custom_components/adaptive_lighting/switch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 13159769..e412e0a4 100755 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -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