Explorar o código

simple_switch_with_timerv2: update for recent new entity

Jason Rumney %!s(int64=3) %!d(string=hai) anos
pai
achega
8a1dd024a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/devices/test_simple_switch_with_timerv2.py

+ 1 - 1
tests/devices/test_simple_switch_with_timerv2.py

@@ -25,7 +25,7 @@ class TestTimedSwitch(BasicNumberTests, SwitchableTests, TuyaDeviceTestCase):
             scale=60,
             unit=UnitOfTime.MINUTES,
         )
-        self.mark_secondary(["number_timer"])
+        self.mark_secondary(["number_timer", "select_power_on_state"])
 
     def test_device_class_is_outlet(self):
         self.assertEqual(self.subject.device_class, SwitchDeviceClass.OUTLET)