فهرست منبع

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 سال پیش
والد
کامیت
603425d024
2فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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],
                 },
             ]
         )