소스 검색

Nashone tests: restore accidentally removed button config

Jason Rumney 3 년 전
부모
커밋
f2d9a18370
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      tests/devices/test_nashone_mts700wb_thermostat.py

+ 5 - 0
tests/devices/test_nashone_mts700wb_thermostat.py

@@ -53,6 +53,11 @@ class TestNashoneMTS700WBThermostat(
             min=-20,
             max=105,
         )
+        self.setUpBasicButton(
+            RESET_DPS,
+            self.entities.get("button_factory_reset"),
+            device_class=ButtonDeviceClass.RESTART,
+        )
         self.setUpBasicNumber(
             CALIBOFFSET_DPS,
             self.entities.get("number_calibration_offset"),