Просмотр исходного кода

Morento HY4866-WF: naming adjustments

- Rename filter used to Filter remaining
- Map "medium" air quality to moderate rather than poor

This is based on Morento MR7566-WF PR #3078, which has different presets
and a separate speed control. Likely the "filter used" naming was an assumption
about the way this counted, and is likely the same as the MR7566 as renamed
by a user able to observe how the device actually works.
Air quality good/moderate/severe is more in line with other devices, rather
than good/poor/severe.
Jason Rumney 11 месяцев назад
Родитель
Сommit
2bd1850e30
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/morento_hy4866_wf.yaml

+ 2 - 2
custom_components/tuya_local/devices/morento_hy4866_wf.yaml

@@ -36,7 +36,7 @@ entities:
         class: measurement
         unit: ugm3
   - entity: sensor
-    name: Filter used
+    name: Filter remaining
     category: diagnostic
     icon: "mdi:ticket-percent-outline"
     dps:
@@ -85,6 +85,6 @@ entities:
           - dps_val: good
             value: good
           - dps_val: medium
-            value: poor
+            value: moderate
           - dps_val: severe
             value: severe