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

cleanup!: Remove November 2025 deprecations

- confortotal_minisplit: remove selects for climate swing_mode and swing_horizontal_mode
- cooper_hunter_air_conditioner:  remove switch for climate swing_horizontal_mode
- ews_waterheater: remove sensor duplicated from the water_heater current_temperature
- lscsmartconnect_rgbcct_bulb: remove select and sensor for light effect
Jason Rumney 6 дней назад
Родитель
Сommit
1851f6fd05

+ 0 - 33
custom_components/tuya_local/devices/confortotal_minisplit.yaml

@@ -213,39 +213,6 @@ entities:
       - id: 22
         type: bitfield
         name: fault_code
-  - entity: select
-    name: Vertical swing
-    deprecated: climate.swing_mode  # 2025-11-08
-    icon: "mdi:angle-acute"
-    category: config
-    dps:
-      - id: 31
-        type: string
-        name: option
-        mapping:
-          - dps_val: "off"
-            value: "Off"
-          - dps_val: same
-            value: Swing
-          - dps_val: vane_1
-            value: Position 1
-          - dps_val: vane_2
-            value: Position 2
-          - dps_val: vane_3
-            value: Position 3
-          - dps_val: vane_4
-            value: Position 4
-          - dps_val: vane_5
-            value: Position 5
-  - entity: switch
-    name: Swing horizontal
-    icon: "mdi:arrow-left-right"
-    deprecated: climate.swing_horizontal_mode  # 2025-11-08
-    category: config
-    dps:
-      - id: 33
-        type: boolean
-        name: switch
   - entity: light
     translation_key: display
     category: config

+ 0 - 14
custom_components/tuya_local/devices/cooper_hunter_air_conditioner.yaml

@@ -211,20 +211,6 @@ entities:
         name: switch
         type: boolean
         optional: true
-  - entity: switch
-    name: Horizontal swing
-    deprecated: climate.swing_horizontal_mode  # 2025-11-08
-    category: config
-    icon: "mdi:arrow-left-right-bold"
-    dps:
-      - id: 34
-        name: switch
-        type: string
-        mapping:
-          - dps_val: "on"
-            value: true
-          - dps_val: "off"
-            value: false
   - entity: binary_sensor
     translation_key: defrost
     category: diagnostic

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

@@ -36,15 +36,6 @@ entities:
         type: string
         name: mode
         hidden: true
-  - entity: sensor
-    deprecated: water_heater.current_temperature  # 2025-11-05
-    class: temperature
-    dps:
-      - id: 3
-        type: integer
-        name: sensor
-        unit: C
-        class: measurement
   - entity: binary_sensor
     class: problem
     category: diagnostic

+ 0 - 28
custom_components/tuya_local/devices/lscsmartconnect_rgbcct_bulb.yaml

@@ -87,31 +87,3 @@ entities:
             value: Scene 3
           - dps_val: "ffff0505ff000000ff00ffff00ff00ff0000ff000000"
             value: Scene 4
-
-  - entity: select
-    name: Work mode
-    deprecated: light.effect  # 2025-11-08
-    icon: "mdi:lightbulb"
-    category: config
-    dps:
-      - id: 2
-        type: string
-        name: option
-        optional: true
-        mapping:
-          - dps_val: "colour"
-            value: Color
-          - dps_val: "white"
-            value: White
-          - dps_val: "scene"
-            value: Scene
-
-  - entity: sensor
-    name: Current work mode
-    deprecated: light.scene  # 2025-11-08
-    icon: "mdi:lightbulb"
-    category: diagnostic
-    dps:
-      - id: 2
-        type: string
-        name: sensor