Browse Source

Remove old deprecated entities

- Breville Dehumidifier: humidity sensor (merged to humidifier)
- Essentials purifier: switch and mode (merged to fan)
- Kerui 200W/300W, LSC PTZ: privacy switch (merged to camera)
- Kerui 200W/300W: Combined PTZ control (split to buttons)
- WHM04 doorbell: doorbell sensor and binary sensor (moved to events)
Jason Rumney 1 year ago
parent
commit
221b8086c6

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

@@ -117,16 +117,6 @@ entities:
             value: "23h"
           - dps_val: "24"
             value: "24h"
-  - entity: sensor
-    # 2024-10-01
-    deprecated: humidifier.current_humidity
-    class: humidity
-    dps:
-      - id: 104
-        type: integer
-        name: sensor
-        unit: "%"
-        class: measurement
   - entity: sensor
     class: temperature
     dps:

+ 0 - 25
custom_components/tuya_local/devices/essentials_purifier.yaml

@@ -19,14 +19,6 @@ entities:
             value: strong
           - dps_val: sleep
             value: sleep
-  - entity: switch
-    # 2024-08-08
-    deprecated: fan
-    icon: "mdi:air-purifier"
-    dps:
-      - id: 1
-        type: boolean
-        name: switch
   - entity: sensor
     name: Active filter life
     icon: "mdi:air-filter"
@@ -113,20 +105,3 @@ entities:
       - id: 21
         type: string
         name: sensor
-  - entity: select
-    name: Mode
-    # 2024-08-08
-    deprecated: fan
-    dps:
-      - id: 3
-        name: option
-        type: string
-        mapping:
-          - dps_val: auto
-            value: Auto
-          - dps_val: M
-            value: Medium
-          - dps_val: H
-            value: High
-          - dps_val: sleep
-            value: Sleep

+ 0 - 39
custom_components/tuya_local/devices/kerui_200w_camera.yaml

@@ -60,16 +60,6 @@ entities:
           - dps_val: null
             value: false
             hidden: true
-  - entity: switch
-    name: Privacy
-    icon: "mdi:incognito"
-    # 2024-10-28
-    deprecated: camera switch
-    category: config
-    dps:
-      - id: 105
-        type: boolean
-        name: switch
   - entity: select
     name: Motion sensitivity
     icon: "mdi:motion-sensor"
@@ -169,35 +159,6 @@ entities:
         name: button
         optional: true
         persist: false
-  - entity: select
-    name: PTZ control
-    # 2024-11-02
-    deprecated: buttons
-    icon: "mdi:camera-control"
-    category: config
-    dps:
-      - id: 119
-        type: string
-        name: option
-        optional: true
-        persist: false
-        mapping:
-          - dps_val: "0"
-            value: up
-          - dps_val: "1"
-            value: right-up
-          - dps_val: "2"
-            value: right
-          - dps_val: "3"
-            value: right-down
-          - dps_val: "4"
-            value: down
-          - dps_val: "5"
-            value: left-down
-          - dps_val: "6"
-            value: left
-          - dps_val: "7"
-            value: left-up
   - entity: button
     name: PTZ up
     icon: "mdi:pan-up"

+ 0 - 39
custom_components/tuya_local/devices/kerui_300w_camera.yaml

@@ -68,16 +68,6 @@ entities:
           - dps_val: null
             value: false
             hidden: true
-  - entity: switch
-    name: Privacy
-    icon: "mdi:incognito"
-    category: config
-    # 2024-10-28
-    deprecated: camera switch
-    dps:
-      - id: 105
-        type: boolean
-        name: switch
   - entity: select
     name: Motion sensitivity
     icon: "mdi:motion-sensor"
@@ -177,35 +167,6 @@ entities:
         name: button
         optional: true
         persist: false
-  - entity: select
-    name: PTZ control
-    # 2024-11-02
-    deprecated: buttons
-    icon: "mdi:camera-control"
-    category: config
-    dps:
-      - id: 119
-        type: string
-        name: option
-        optional: true
-        persist: false
-        mapping:
-          - dps_val: "0"
-            value: up
-          - dps_val: "1"
-            value: right-up
-          - dps_val: "2"
-            value: right
-          - dps_val: "3"
-            value: right-down
-          - dps_val: "4"
-            value: down
-          - dps_val: "5"
-            value: left-down
-          - dps_val: "6"
-            value: left
-          - dps_val: "7"
-            value: left-up
   - entity: button
     name: PTZ up
     icon: "mdi:pan-up"

+ 0 - 18
custom_components/tuya_local/devices/lsc_ptz_camera.yaml

@@ -54,24 +54,6 @@ entities:
           - dps_val: null
             value: false
             hidden: true
-  - entity: switch
-    name: Privacy
-    category: config
-    # 2024-10-26
-    deprecated: camera switch
-    icon: "mdi:incognito"
-    dps:
-      - id: 105
-        type: boolean
-        name: switch
-        optional: true
-        mapping:
-          - dps_val: null
-            value: false
-            hidden: true
-            icon: "mdi:incognito-off"
-          - dps_val: false
-            icon: "mdi:incognito-off"
   - entity: select
     name: Motion sensitivity
     icon: "mdi:motion-sensor"

+ 1 - 0
custom_components/tuya_local/devices/tongou_qcb2_singlephasebreaker.yaml

@@ -147,6 +147,7 @@ entities:
   - entity: switch
     category: config
     name: Live updates
+    # Deprecated 2025-04-01
     deprecated: button
     icon: "mdi:chart-bar"
     dps:

+ 0 - 26
custom_components/tuya_local/devices/whm04_doorbell.yaml

@@ -119,32 +119,6 @@ entities:
       - id: 6
         type: boolean
         name: switch
-  - entity: sensor
-    name: Button
-    # 2024-10-28
-    deprecated: event_doorbell
-    category: diagnostic
-    dps:
-      - id: 5
-        type: base64
-        name: sensor
-        optional: true
-        persist: false
-  - entity: binary_sensor
-    name: Ringing
-    class: sound
-    # 2024-10-28
-    deprecated: event_doorbell
-    dps:
-      - id: 5
-        type: base64
-        name: sensor
-        optional: true
-        persist: false
-        mapping:
-          - dps_val: null
-            value: false
-          - value: true
   - entity: event
     class: doorbell
     dps:

+ 0 - 24
custom_components/tuya_local/devices/zym100_presence_sensor.yaml

@@ -57,30 +57,6 @@ entities:
         mapping:
           - scale: 100
             step: 10
-  - entity: sensor
-    # 2024-11-02
-    deprecated: binary_sensor_problem
-    translation_key: status
-    class: enum
-    category: diagnostic
-    dps:
-      - id: 6
-        type: string
-        name: sensor
-        optional: true
-        mapping:
-          - dps_val: check_failure
-            value: Fault
-          - dps_val: check_success
-            value: OK
-          - dps_val: checking
-            value: Checking
-          - dps_val: comm_fault
-            value: Communication fault
-          - dps_val: others
-            value: Timeout
-          - dps_val: radar_fault
-            value: Radar fault
   - entity: binary_sensor
     class: problem
     category: diagnostic