Преглед на файлове

Cleverio AD100: make primary entity a fan

Since there is no humidity control, a humidifier entity is not needed.
This can be better modeled as a fan.

Issue #1311
Jason Rumney преди 2 години
родител
ревизия
900430a8c1
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml

+ 4 - 3
custom_components/tuya_local/devices/cleverio_ad100_dehumidifier.yaml

@@ -3,8 +3,9 @@ products:
   - id: jkscqnjueuczotho
     name: Cleverio AD100
 primary_entity:
-  entity: humidifier
-  class: dehumidifier
+  entity: fan
+  name: Dehumidifier
+  translation_key: fan_with_presets
   dps:
     - id: 102
       type: boolean
@@ -16,7 +17,7 @@ primary_entity:
         - dps_val: sleep
           value: sleep
         - dps_val: High
-          value: boost
+          value: strong
     - id: 12
       type: integer
       name: fault_code