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

BREAKING CHANGE: remove deprecated humidity sensors and buttons

-(de)humidifiers: remove separate humidity sensors. Humidity was added to the humidifier platform in July 2023.
- ZX G30: remove buttons that were made obsolete by addition of alarm_control_panel platform in June 2023.
Jason Rumney 1 год назад
Родитель
Сommit
25923b4dac
32 измененных файлов с 2 добавлено и 392 удалено
  1. 1 28
      custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml
  2. 1 13
      custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml
  3. 0 11
      custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml
  4. 0 11
      custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml
  5. 0 11
      custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml
  6. 0 11
      custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml
  7. 0 11
      custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml
  8. 0 11
      custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml
  9. 0 11
      custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml
  10. 0 11
      custom_components/tuya_local/devices/electriq_cd12pw_dehumidifier.yaml
  11. 0 11
      custom_components/tuya_local/devices/electriq_cd12pwv2_dehumidifier.yaml
  12. 0 11
      custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml
  13. 0 11
      custom_components/tuya_local/devices/electriq_cd25pro_dehumidifier.yaml
  14. 0 10
      custom_components/tuya_local/devices/electriq_pd45e_dehumidifier.yaml
  15. 0 11
      custom_components/tuya_local/devices/goldair_dehumidifier.yaml
  16. 0 11
      custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml
  17. 0 12
      custom_components/tuya_local/devices/greenwind_dehumidifier.yaml
  18. 0 11
      custom_components/tuya_local/devices/honeywell_dehumidifier.yaml
  19. 0 11
      custom_components/tuya_local/devices/hyundai_sahara_dehumidifier.yaml
  20. 0 11
      custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml
  21. 0 10
      custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml
  22. 0 11
      custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml
  23. 0 11
      custom_components/tuya_local/devices/jjpro_jpd02_dehumidifier.yaml
  24. 0 11
      custom_components/tuya_local/devices/klarstein_dryfy_pro_connect_dehumidifier.yaml
  25. 0 10
      custom_components/tuya_local/devices/klarta_humea_humidifier.yaml
  26. 0 11
      custom_components/tuya_local/devices/kogan_dehumidifier.yaml
  27. 0 9
      custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml
  28. 0 11
      custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml
  29. 0 10
      custom_components/tuya_local/devices/stadlerform_karl_humidifier.yaml
  30. 0 12
      custom_components/tuya_local/devices/wetair_wawh1210lw_humidifier.yaml
  31. 0 11
      custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml
  32. 0 36
      custom_components/tuya_local/devices/zx_g30_alarm.yaml

+ 1 - 28
custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml

@@ -9,13 +9,6 @@ primary_entity:
     - id: 1
       name: switch
       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
       name: humidity
       type: integer
@@ -30,16 +23,11 @@ primary_entity:
       mapping:
         - dps_val: Continuous
           value: boost
-          icon: mdi:tshirt-crew-outline
-          icon_priority: 3
         - dps_val: Sunny_Day
           value: eco
-          icon: "mdi:weather-sunny"
-          icon_priority: 3
         - dps_val: Rain_Day
           value: normal
-          icon: "mdi:weather-pouring"
-          icon_priority: 3
+
     - id: 6
       name: current_humidity
       type: integer
@@ -52,12 +40,8 @@ primary_entity:
           value: OK
         - dps_val: 1
           value: "Water Tank Full or Removed"
-          icon: "mdi:cup-water"
-          icon_priority: 1
         - dps_val: 2
           value: "E2 Compressor Fault"
-          icon: "mdi:engine-off-outline"
-          icon_priority: 1
 secondary_entities:
   - entity: fan
     dps:
@@ -72,17 +56,6 @@ secondary_entities:
             value: 50
           - dps_val: high
             value: 100
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 1 - 13
custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml

@@ -37,17 +37,6 @@ primary_entity:
         - dps_val: 8
           value: tank
 secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: switch
     translation_key: ionizer
     category: config
@@ -174,8 +163,7 @@ secondary_entities:
             value: false
           - value: true
   - entity: switch
-    name: Inside Drying
-    icon: "mdi:tshirt-crew"
+    name: Inside drying
     dps:
       - id: 101
         name: switch

+ 0 - 11
custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml

@@ -82,17 +82,6 @@ secondary_entities:
       - id: 10
         type: boolean
         name: switch
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 16
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml

@@ -94,17 +94,6 @@ secondary_entities:
       - id: 10
         type: boolean
         name: switch
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 16
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     dps:

+ 0 - 11
custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml

@@ -73,17 +73,6 @@ secondary_entities:
             value: 50
           - dps_val: high
             value: 100
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml

@@ -46,17 +46,6 @@ primary_entity:
           icon: "mdi:cup-water"
           icon_priority: 1
 secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 16
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml

@@ -47,17 +47,6 @@ primary_entity:
           icon: "mdi:cup-water"
           icon_priority: 1
 secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml

@@ -64,17 +64,6 @@ secondary_entities:
                 invalid: true
           - dps_val: high
             value: 100
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 16
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml

@@ -107,17 +107,6 @@ secondary_entities:
       - id: 10
         name: switch
         type: boolean
-  - entity: sensor
-    class: humidity
-    name: "Current humidity"
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: switch
     name: Sleep
     category: config

+ 0 - 11
custom_components/tuya_local/devices/electriq_cd12pw_dehumidifier.yaml

@@ -50,17 +50,6 @@ secondary_entities:
             icon: "mdi:led-on"
           - dps_val: false
             icon: "mdi:led-off"
-  - entity: sensor
-    class: humidity
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/electriq_cd12pwv2_dehumidifier.yaml

@@ -38,17 +38,6 @@ primary_entity:
       type: integer
       name: error_code
 secondary_entities:
-  - entity: sensor
-    class: humidity
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: light
     name: Display
     category: config

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

@@ -90,17 +90,6 @@ secondary_entities:
       - id: 5
         name: switch
         type: boolean
-  - entity: sensor
-    class: humidity
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/electriq_cd25pro_dehumidifier.yaml

@@ -86,17 +86,6 @@ secondary_entities:
       - id: 7
         type: boolean
         name: lock
-  - entity: sensor
-    class: humidity
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 10
custom_components/tuya_local/devices/electriq_pd45e_dehumidifier.yaml

@@ -76,13 +76,3 @@ secondary_entities:
         name: sensor
         unit: C
         class: measurement
-  - entity: sensor
-    class: humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement

+ 0 - 11
custom_components/tuya_local/devices/goldair_dehumidifier.yaml

@@ -134,17 +134,6 @@ secondary_entities:
         name: sensor
         unit: C
         class: measurement
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 104
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml

@@ -110,17 +110,6 @@ secondary_entities:
         name: sensor
         unit: C
         class: measurement
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 104
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 12
custom_components/tuya_local/devices/greenwind_dehumidifier.yaml

@@ -30,15 +30,3 @@ primary_entity:
     - id: 18
       name: current_humidity
       type: integer
-secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 18
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement

+ 0 - 11
custom_components/tuya_local/devices/honeywell_dehumidifier.yaml

@@ -38,17 +38,6 @@ primary_entity:
       name: current_humidity
       type: integer
 secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 18
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     name: Filter cleaning reminder
     class: problem

+ 0 - 11
custom_components/tuya_local/devices/hyundai_sahara_dehumidifier.yaml

@@ -67,17 +67,6 @@ secondary_entities:
             value: 50
           - dps_val: high
             value: 100
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml

@@ -109,17 +109,6 @@ secondary_entities:
             value: 66
           - dps_val: high
             value: 100
-  - entity: sensor
-    class: humidity
-    deprecated: humidifier
-    category: diagnostic
-    name: Room humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     name: Room temperature

+ 0 - 10
custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml

@@ -85,16 +85,6 @@ secondary_entities:
       - id: 10
         type: boolean
         name: switch
-  - entity: sensor
-    class: humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml

@@ -102,17 +102,6 @@ secondary_entities:
         name: sensor
         unit: C
         class: measurement
-  - entity: sensor
-    name: Current humidity
-    class: humidity
-    deprecated: humidifier
-    category: diagnostic
-    dps:
-      - id: 104
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/jjpro_jpd02_dehumidifier.yaml

@@ -66,17 +66,6 @@ secondary_entities:
             value: 50
           - dps_val: "high"
             value: 100
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"
   - entity: sensor
     class: temperature
     dps:

+ 0 - 11
custom_components/tuya_local/devices/klarstein_dryfy_pro_connect_dehumidifier.yaml

@@ -84,17 +84,6 @@ secondary_entities:
             value: "45°"
           - dps_val: "90"
             value: "90°"
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"
   - entity: sensor
     class: temperature
     dps:

+ 0 - 10
custom_components/tuya_local/devices/klarta_humea_humidifier.yaml

@@ -66,16 +66,6 @@ secondary_entities:
       - id: 103
         type: boolean
         name: switch
-  - entity: sensor
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 109
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: number
     name: Spray level
     icon: "mdi:spray"

+ 0 - 11
custom_components/tuya_local/devices/kogan_dehumidifier.yaml

@@ -74,17 +74,6 @@ secondary_entities:
       - id: 8
         name: oscillate
         type: boolean
-  - entity: sensor
-    class: humidity
-    deprecated: humidifier
-    category: diagnostic
-    name: Current humidity
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"
   - entity: binary_sensor
     translation_key: tank_full
     category: diagnostic

+ 0 - 9
custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml

@@ -43,15 +43,6 @@ secondary_entities:
       - id: 8
         type: boolean
         name: oscillate
-  - entity: sensor
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: "%"
   - entity: switch
     translation_key: ionizer
     category: config

+ 0 - 11
custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml

@@ -30,17 +30,6 @@ primary_entity:
         - dps_val: false
           value: boost
 secondary_entities:
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 14
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     class: problem
     category: diagnostic

+ 0 - 10
custom_components/tuya_local/devices/stadlerform_karl_humidifier.yaml

@@ -30,16 +30,6 @@ primary_entity:
         - dps_val: false
           value: boost
 secondary_entities:
-  - entity: sensor
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 14
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: binary_sensor
     translation_key: tank_empty
     category: diagnostic

+ 0 - 12
custom_components/tuya_local/devices/wetair_wawh1210lw_humidifier.yaml

@@ -62,18 +62,6 @@ secondary_entities:
           - dps_val: false
             icon: "mdi:volume-off"
 
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 14
-        name: sensor
-        type: integer
-        class: measurement
-        unit: "%"
-
   - entity: sensor
     name: Water level
     category: diagnostic

+ 0 - 11
custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml

@@ -106,17 +106,6 @@ secondary_entities:
             value: C
           - dps_val: f
             value: F
-  - entity: sensor
-    name: Current humidity
-    deprecated: humidifier
-    category: diagnostic
-    class: humidity
-    dps:
-      - id: 14
-        name: sensor
-        type: integer
-        class: measurement
-        unit: "%"
   - entity: light
     name: Display
     category: config

+ 0 - 36
custom_components/tuya_local/devices/zx_g30_alarm.yaml

@@ -53,42 +53,6 @@ secondary_entities:
             value: false
           - dps_val: alarm
             value: true
-  - entity: button
-    deprecated: alarm_control_panel
-    category: config
-    name: Disarm
-    icon: "mdi:shield-off"
-    dps:
-      - id: 1
-        type: string
-        name: button
-        mapping:
-          - dps_val: "disarmed"
-            value: true
-  - entity: button
-    deprecated: alarm_control_panel
-    category: config
-    name: Away arm
-    icon: "mdi:shield-lock"
-    dps:
-      - id: 1
-        type: string
-        name: button
-        mapping:
-          - dps_val: "arm"
-            value: true
-  - entity: button
-    deprecated: alarm_control_panel
-    category: config
-    name: Home arm
-    icon: "mdi:shield-home"
-    dps:
-      - id: 1
-        type: string
-        name: button
-        mapping:
-          - dps_val: "home"
-            value: true
   - entity: number
     name: Exit delay
     category: config