소스 검색

BHT-002: fix unit test for attributes.

103 was mostly removed after copy/paste from BHT-6000, but one bit was left over.
Jason Rumney 4 년 전
부모
커밋
7e122e4b30
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/devices/test_beca_bht002_thermostat.py

+ 1 - 1
tests/devices/test_beca_bht002_thermostat.py

@@ -136,7 +136,7 @@ class TestBecaBHT002Thermostat(TuyaDeviceTestCase):
 
         self.assertDictEqual(
             self.subject.device_state_attributes,
-            {"floor_temperature": 22.5, "unknown_103": "103", "unknown_104": False},
+            {"floor_temperature": 22.5, "unknown_104": False},
         )
         self.assertDictEqual(self.light.device_state_attributes, {})
         self.assertDictEqual(self.lock.device_state_attributes, {})