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

cleanup(electriq_cd20pro_dehumidifier)!: remove deprecated fan

Remove the fan entity which includes an unnatural mapping of wind direction
to common fan presets. This was replaced by a select entity in December 2024,
the switch is duplicated on the humidifier entity.
Jason Rumney 8 месяцев назад
Родитель
Сommit
26d9d39023

+ 0 - 29
custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml

@@ -68,35 +68,6 @@ entities:
             value: "45°"
           - dps_val: "90"
             value: "90°"
-  - entity: fan
-    translation_only_key: fan_with_presets
-    # 2024-12-22
-    deprecated: select_direction
-    dps:
-      - id: 1
-        type: boolean
-        name: switch
-      - id: 102
-        name: preset_mode
-        type: string
-        optional: true
-        mapping:
-          - dps_val: "45"
-            value: sleep
-          - dps_val: "90"
-            value: fresh
-          - dps_val: "0_90"
-            value: nature
-      - id: 102
-        name: oscillate
-        type: string
-        optional: true
-        mapping:
-          - dps_val: "0_90"
-            value: true
-          - dps_val: "90"
-            value: false
-          - value: false
   - entity: switch
     translation_key: uv_sterilization
     dps: