瀏覽代碼

Renpho tests: add options to AQ sensor

PR #1832
Jason Rumney 2 年之前
父節點
當前提交
361c03308a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/devices/test_renpho_rp_ap001s.py

+ 1 - 0
tests/devices/test_renpho_rp_ap001s.py

@@ -50,6 +50,7 @@ class TestRenphoPurifier(
                     "name": "sensor_air_quality",
                     "name": "sensor_air_quality",
                     "dps": QUALITY_DPS,
                     "dps": QUALITY_DPS,
                     "device_class": SensorDeviceClass.ENUM,
                     "device_class": SensorDeviceClass.ENUM,
+                    "options": ["Bad", "Fair", "Good"],
                 },
                 },
                 {
                 {
                     "name": "sensor_prefilter_life",
                     "name": "sensor_prefilter_life",