diff --git a/README.md b/README.md index c8cdee16..1e06e5f8 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ The attributes are absent when the Adaptive Lighting switch is off. Use a fallba - [:exclamation: Common Problems & Solutions](#exclamation-common-problems--solutions) - [:bulb: Lights Only Adapt After Reloading](#bulb-lights-only-adapt-after-reloading) - [:bulb: Lights Not Responding or Turning On by Themselves](#bulb-lights-not-responding-or-turning-on-by-themselves) + - [Color-temperature lights incorrectly detected as manually controlled](#color-temperature-lights-incorrectly-detected-as-manually-controlled) - [:signal_strength: WiFi Networks](#signal_strength-wifi-networks) - [:spider_web: Zigbee, Z-Wave, and Other Mesh Networks](#spider_web-zigbee-z-wave-and-other-mesh-networks) - [:rainbow: Light Colors Not Matching](#rainbow-light-colors-not-matching) diff --git a/tests/test_color_mode_policy.py b/tests/test_color_mode_policy.py index 62850c92..7fd65518 100644 --- a/tests/test_color_mode_policy.py +++ b/tests/test_color_mode_policy.py @@ -38,7 +38,10 @@ def test_equivalent_color_readback(kelvin, reverse): # Existing behavior, including Hue scene mode changes, is the default. assert _attributes_have_changed( - "light.test", old.copy(), new.copy(), Context(), + "light.test", + old.copy(), + new.copy(), + Context(), ) == (LightControlAttributes.COLOR) assert ( _attributes_have_changed( @@ -88,7 +91,10 @@ def test_observed_homekit_readback(): old = {ATTR_BRIGHTNESS: 115, ATTR_COLOR_TEMP_KELVIN: 2127} new = {ATTR_BRIGHTNESS: 114.75, ATTR_RGB_COLOR: (255, 142, 28)} assert _attributes_have_changed( - "light.test", old.copy(), new.copy(), Context(), + "light.test", + old.copy(), + new.copy(), + Context(), ) == (LightControlAttributes.COLOR) assert ( _attributes_have_changed(