Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
7e122e4b30
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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, {})