Преглед изворни кода

fix(atorch_at4ptw_thermostat): use total_increasing for energy sensor

Issue #5678
Jason Rumney пре 2 недеља
родитељ
комит
e9f0781c7e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/atorch_at4ptw_thermostat.yaml

+ 1 - 1
custom_components/tuya_local/devices/atorch_at4ptw_thermostat.yaml

@@ -133,7 +133,7 @@ entities:
         type: integer
         name: sensor
         unit: kWh
-        class: measurement
+        class: total_increasing
         mapping:
           - scale: 100
       - id: 127