Browse Source

Somgom switches: remove power_on_state selector

Despite being listed in the tuya portal, this does not appear in the
local data.  It may be a write-only dp, but these are not supported.

Issue #253
Jason Rumney 3 years ago
parent
commit
2ffc49ff86

+ 0 - 15
custom_components/tuya_local/devices/somgom_double_switch.yaml

@@ -41,21 +41,6 @@ secondary_entities:
         mapping:
           - scale: 60
         unit: min
-  - entity: select
-    name: Power on state
-    icon: "mdi:toggle-switch"
-    category: config
-    dps:
-      - id: 14
-        name: option
-        type: string
-        mapping:
-          - dps_val: power_on
-            value: "On"
-          - dps_val: power_off
-            value: "Off"
-          - dps_val: last
-            value: Last State
   - entity: light
     name: Backlight
     category: config

+ 0 - 15
custom_components/tuya_local/devices/somgom_single_switch.yaml

@@ -20,21 +20,6 @@ secondary_entities:
         mapping:
           - scale: 60
         unit: min
-  - entity: select
-    name: Power on state
-    icon: "mdi:toggle-switch"
-    category: config
-    dps:
-      - id: 14
-        name: option
-        type: string
-        mapping:
-          - dps_val: power_on
-            value: "On"
-          - dps_val: power_off
-            value: "Off"
-          - dps_val: last
-            value: Last State
   - entity: light
     name: Backlight
     category: config