Jelajahi Sumber

Tests: fix unintended change in previous commit

Test was accidentally changed from checking current_temperature values
to temperature values (which has a mapping, so not valid for the no_mapping
test it was in).
Jason Rumney 1 tahun lalu
induk
melakukan
21d590278e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      tests/test_device_config.py

+ 1 - 1
tests/test_device_config.py

@@ -604,7 +604,7 @@ class TestDeviceConfig(IsolatedAsyncioTestCase):
         cfg = get_config("goldair_gpph_heater")
         for entity in cfg.all_entities():
             if entity.entity == "climate":
-                temp = entity.find_dps("temperature")
+                temp = entity.find_dps("current_temperature")
                 self.assertEqual(temp.values(mock_device), [])
                 break