Răsfoiți Sursa

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 ani în urmă
părinte
comite
603425d024

+ 0 - 1
tests/devices/test_devola_patio_heater.py

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

+ 0 - 1
tests/devices/test_wetair_wawh1210lw_humidifier.py

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