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

Mark deprecated entities with dates for easier tracking.

- one deprecation for Electriq DESD9LW humidity sensor removed, as it will be 6 months in a couple of days
Jason Rumney 1 год назад
Родитель
Сommit
f235547320

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

@@ -111,6 +111,7 @@ entities:
             value: Mood 3
   - entity: select
     name: Color
+    # 2025-01-18
     deprecated: light
     icon: "mdi:palette"
     category: config

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

@@ -66,6 +66,7 @@ entities:
             value: black
   - entity: select
     name: Light
+    # 2024-11-21
     deprecated: light
     icon: "mdi:lightbulb"
     category: config

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

@@ -118,6 +118,7 @@ entities:
           - dps_val: "24"
             value: "24h"
   - entity: sensor
+    # 2024-10-01
     deprecated: humidifier.current_humidity
     class: humidity
     dps:

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

@@ -199,6 +199,7 @@ entities:
           - dps_val: "13"
             value: white
   - entity: select
+    # 2024-11-21
     deprecated: light_embers
     name: Embers
     icon: "mdi:campfire"

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

@@ -70,6 +70,7 @@ entities:
             value: "90°"
   - entity: fan
     translation_only_key: fan_with_presets
+    # 2024-12-22
     deprecated: select_direction
     dps:
       - id: 1

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

@@ -86,12 +86,3 @@ entities:
       - id: 12
         name: switch
         type: boolean
-  - entity: sensor
-    class: humidity
-    deprecated: climate.current_humidity
-    dps:
-      - id: 6
-        type: integer
-        name: sensor
-        class: measurement
-        unit: "%"

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

@@ -20,6 +20,7 @@ entities:
           - dps_val: sleep
             value: sleep
   - entity: switch
+    # 2024-08-08
     deprecated: fan
     icon: "mdi:air-purifier"
     dps:
@@ -114,6 +115,7 @@ entities:
         name: sensor
   - entity: select
     name: Mode
+    # 2024-08-08
     deprecated: fan
     dps:
       - id: 3

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

@@ -105,6 +105,7 @@ entities:
         name: switch
   - entity: binary_sensor
     class: sound
+    # 2025-01-05
     deprecated: event.alarm
     name: Alarm
     category: diagnostic

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

@@ -116,6 +116,7 @@ entities:
             hidden: true
   - entity: select
     name: Light
+    # 2024-11-21
     deprecated: light
     icon: "mdi:led-strip-variant"
     dps:

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

@@ -39,6 +39,7 @@ entities:
   - entity: sensor
     translation_key: status
     class: enum
+    # 2024-11-02
     deprecated: binary_sensor problem/defrost/tank_full
     category: diagnostic
     dps:

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

@@ -63,6 +63,7 @@ entities:
   - entity: switch
     name: Privacy
     icon: "mdi:incognito"
+    # 2024-10-28
     deprecated: camera switch
     category: config
     dps:
@@ -170,6 +171,7 @@ entities:
         persist: false
   - entity: select
     name: PTZ control
+    # 2024-11-02
     deprecated: buttons
     icon: "mdi:camera-control"
     category: config

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

@@ -72,6 +72,7 @@ entities:
     name: Privacy
     icon: "mdi:incognito"
     category: config
+    # 2024-10-28
     deprecated: camera switch
     dps:
       - id: 105
@@ -178,6 +179,7 @@ entities:
         persist: false
   - entity: select
     name: PTZ control
+    # 2024-11-02
     deprecated: buttons
     icon: "mdi:camera-control"
     category: config

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

@@ -54,6 +54,7 @@ entities:
   - entity: switch
     name: Privacy
     category: config
+    # 2024-10-26
     deprecated: camera switch
     icon: "mdi:incognito"
     dps:

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

@@ -176,6 +176,7 @@ entities:
           - dps_val: yellow
             value: yellow
   - entity: select
+    # 2024-11-21
     name: Light
     deprecated: light
     icon: "mdi:lightbulb"

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

@@ -121,6 +121,7 @@ entities:
         name: switch
   - entity: sensor
     name: Button
+    # 2024-10-28
     deprecated: event_doorbell
     category: diagnostic
     dps:
@@ -132,6 +133,7 @@ entities:
   - entity: binary_sensor
     name: Ringing
     class: sound
+    # 2024-10-28
     deprecated: event_doorbell
     dps:
       - id: 5

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

@@ -58,6 +58,7 @@ entities:
           - scale: 100
             step: 10
   - entity: sensor
+    # 2024-11-02
     deprecated: binary_sensor_problem
     translation_key: status
     class: enum