Selaa lähdekoodia

Renpho tests: add options to AQ sensor

PR #1832
Jason Rumney 1 vuosi sitten
vanhempi
commit
361c03308a
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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",