Bladeren bron

Remove deprecated switches that were replaced with buttons.

Buttons were added in 2023.1.0, which is now over 3 months ago.
Since most of these are "reset" functions, they probably aren't high
use, but if the switch was exposed in the UI, or used in automations,
it will need to be replaced with the button.
Jason Rumney 2 jaren geleden
bovenliggende
commit
a46cf86ee5

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

@@ -34,12 +34,3 @@ secondary_entities:
       - id: 103
       - id: 103
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    icon: "mdi:cog-refresh"
-    name: Factory reset
-    category: config
-    dps:
-      - id: 103
-        name: switch
-        type: boolean

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

@@ -17,15 +17,6 @@ secondary_entities:
       - id: 7
       - id: 7
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button.filter_replaced
-    name: Filter replaced
-    icon: "mdi:air-filter"
-    category: config
-    dps:
-      - id: 7
-        type: boolean
-        name: switch
   - entity: button
   - entity: button
     name: Pump cleaned
     name: Pump cleaned
     icon: "mdi:pump"
     icon: "mdi:pump"

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

@@ -66,15 +66,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    icon: "mdi:refresh"
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     icon: "mdi:timer"
     icon: "mdi:timer"

+ 0 - 8
custom_components/tuya_local/devices/himox_h05_purifier.yaml

@@ -58,14 +58,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     icon: "mdi:timer"
     icon: "mdi:timer"

+ 0 - 8
custom_components/tuya_local/devices/himox_h06_purifier.yaml

@@ -41,14 +41,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     icon: "mdi:timer"
     icon: "mdi:timer"

+ 0 - 27
custom_components/tuya_local/devices/kyvol_e30_vacuum.yaml

@@ -151,15 +151,6 @@ secondary_entities:
       - id: 10
       - id: 10
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Edge brush reset
-    category: config
-    icon: "mdi:arrow-expand-all"
-    dps:
-      - id: 10
-        type: boolean
-        name: switch
   - entity: button
   - entity: button
     name: Roll brush reset
     name: Roll brush reset
     class: restart
     class: restart
@@ -168,15 +159,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Roll brush reset
-    icon: "mdi:refresh-circle"
-    category: config
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: button
   - entity: button
     name: Filter reset
     name: Filter reset
     category: config
     category: config
@@ -185,15 +167,6 @@ secondary_entities:
       - id: 12
       - id: 12
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    icon: "mdi:air-filter"
-    dps:
-      - id: 12
-        type: boolean
-        name: switch
   - entity: sensor
   - entity: sensor
     name: Edge brush
     name: Edge brush
     category: diagnostic
     category: diagnostic

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

@@ -83,15 +83,6 @@ secondary_entities:
       - id: 39
       - id: 39
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    category: config
-    name: Factory reset
-    icon: "mdi:cog-refresh"
-    dps:
-      - id: 39
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     category: config
     category: config

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

@@ -60,15 +60,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    icon: "mdi:refresh"
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     category: config
     category: config

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

@@ -360,15 +360,6 @@ secondary_entities:
       - id: 39
       - id: 39
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Factory reset
-    category: config
-    icon: "mdi:store-cog"
-    dps:
-      - id: 39
-        type: boolean
-        name: switch
   - entity: lock
   - entity: lock
     name: Child lock
     name: Child lock
     category: config
     category: config

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

@@ -54,15 +54,6 @@ secondary_entities:
       - id: 11
       - id: 11
         type: boolean
         type: boolean
         name: button
         name: button
-  - entity: switch
-    deprecated: button
-    name: Filter reset
-    category: config
-    icon: "mdi:refresh"
-    dps:
-      - id: 11
-        type: boolean
-        name: switch
   - entity: select
   - entity: select
     name: Timer
     name: Timer
     category: config
     category: config