Browse Source

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 năm trước cách đây
mục cha
commit
603425d024

+ 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],
                 },
             ]
         )