Bladeren bron

Update tests for devola patio heater and wetair wawh1210lw humidifier.

Although these have sensors with mappings, they are mapping to
integers, so not enum device classes, and should not have options.
Jason Rumney 3 jaren geleden
bovenliggende
commit
603425d024
2 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0 1
      tests/devices/test_devola_patio_heater.py
  2. 0 1
      tests/devices/test_wetair_wawh1210lw_humidifier.py

+ 0 - 1
tests/devices/test_devola_patio_heater.py

@@ -65,7 +65,6 @@ class TestDevolaPatioHeater(
                     "unit": PERCENTAGE,
                     "device_class": SensorDeviceClass.POWER_FACTOR,
                     "testdata": ("2", 50),
-                    "options": [25, 50, 75, 100],
                 },
                 {
                     "dps": MODE_DPS,

+ 0 - 1
tests/devices/test_wetair_wawh1210lw_humidifier.py

@@ -61,7 +61,6 @@ class TestWetairWAWH1210LWHumidifier(
                     "dps": LEVEL_DPS,
                     "name": "sensor_water_level",
                     "unit": PERCENTAGE,
-                    "options": [0, 50, 100],
                 },
             ]
         )