Browse Source

Arlec fan: update tests

Tests were updated before I checked the linked issue to see that the
color temperature needed inverting.  Now that it is inverted, they need
updating again.
Jason Rumney 2 years ago
parent
commit
875691fdcc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/devices/test_arlec_fan_light.py

+ 2 - 2
tests/devices/test_arlec_fan_light.py

@@ -136,7 +136,7 @@ class TestArlecFan(SwitchableTests, BasicSelectTests, TuyaDeviceTestCase):
 
     def test_light_color_temp(self):
         self.dps[COLORTEMP_DPS] = 70
-        self.assertEqual(self.light.color_temp_kelvin, 5360)
+        self.assertEqual(self.light.color_temp_kelvin, 3840)
 
     def test_light_color_temp_range(self):
         self.assertEqual(self.light.min_color_temp_kelvin, 2700)
@@ -149,5 +149,5 @@ class TestArlecFan(SwitchableTests, BasicSelectTests, TuyaDeviceTestCase):
         ):
             await self.light.async_turn_on(
                 brightness=112,
-                color_temp_kelvin=5360,
+                color_temp_kelvin=3840,
             )