Browse Source

Update atorch_s1tw_thermostat.yaml

add_ele sensor added as an attribute on the energy.
vvv2542 10 months ago
parent
commit
308e8a9f7c
1 changed files with 4 additions and 9 deletions
  1. 4 9
      custom_components/tuya_local/devices/atorch_s1tw_thermostat.yaml

+ 4 - 9
custom_components/tuya_local/devices/atorch_s1tw_thermostat.yaml

@@ -260,6 +260,10 @@ entities:
         class: total_increasing
         mapping:
           - scale: 1000
+      - id: 127
+        type: integer
+        name: add_ele
+        optional: true
   - entity: number
     name: Price
     class: monetary
@@ -365,15 +369,6 @@ entities:
         type: boolean
         name: sensor
         class: measurement
-  - entity: sensor
-    name: Add ele
-    category: diagnostic
-    dps:
-      - id: 127
-        type: integer
-        name: sensor
-        class: measurement
-        optional: true
   - entity: number
     name: Reporting interval
     class: duration