Neil Martin 1 год назад
Родитель
Сommit
c38b5602d1
1 измененных файлов с 2 добавлено и 17 удалено
  1. 2 17
      custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml

+ 2 - 17
custom_components/tuya_local/devices/DH-CSK03W_dehumidifier.yaml

@@ -6,13 +6,6 @@ primary_entity:
     - id: 1
     - id: 1
       name: switch
       name: switch
       type: boolean
       type: boolean
-      mapping:
-        - dps_val: false
-          icon: "mdi:air-humidifier-off"
-          icon_priority: 2
-        - dps_val: true
-          icon: "mdi:air-humidifier"
-          icon_priority: 4
     - id: 2
     - id: 2
       name: humidity
       name: humidity
       type: integer
       type: integer
@@ -26,9 +19,9 @@ primary_entity:
       type: string
       type: string
       mapping:
       mapping:
         - dps_val: "mode_strong"
         - dps_val: "mode_strong"
-          value: "Strong"
+          value: "boost"
         - dps_val: "mode_sleep"
         - dps_val: "mode_sleep"
-          value: "Sleep"
+          value: "sleep"
     - id: 6
     - id: 6
       type: integer
       type: integer
       name: current_humidity
       name: current_humidity
@@ -77,14 +70,6 @@ secondary_entities:
             value: "Light mode 2"
             value: "Light mode 2"
           - dps_val: "light_mode3"
           - dps_val: "light_mode3"
             value: "Light mode 3"
             value: "Light mode 3"
-  - entity: sensor
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature
     dps:
     dps: