Forráskód Böngészése

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 éve
szülő
commit
900430a8c1

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

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