瀏覽代碼

simple_switch_with_timerv2: update for recent new entity

Jason Rumney 3 年之前
父節點
當前提交
8a1dd024a2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)