Browse Source

fix(ecoso_wifi_element): timer mode is a sensor not select

DP is marked readonly, at first I assumed it was the 7d, 6+1, 5+2, ... type select
that many similar devices have, but when noticing it was readonly, changed the
entity type without changing the dp name.
Jason Rumney 3 weeks ago
parent
commit
c8c046aa1c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      custom_components/tuya_local/devices/ecoso_wifi_element.yaml

+ 2 - 1
custom_components/tuya_local/devices/ecoso_wifi_element.yaml

@@ -122,11 +122,12 @@ entities:
   - entity: sensor
     name: Timer mode
     category: config
+    class: enum
     hidden: true
     dps:
       - id: 105
         type: string
-        name: option
+        name: sensor
         mapping:
           - dps_val: "0"
             value: "0"