Procházet zdrojové kódy

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 před 1 rokem
rodič
revize
21d590278e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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