소스 검색

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