소스 검색

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",
                     "dps": QUALITY_DPS,
                     "device_class": SensorDeviceClass.ENUM,
+                    "options": ["Bad", "Fair", "Good"],
                 },
                 {
                     "name": "sensor_prefilter_life",