Bläddra i källkod

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 år sedan
förälder
incheckning
7e122e4b30
1 ändrade filer med 1 tillägg och 1 borttagningar
  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, {})