Просмотр исходного кода

fix(atorch_at4ptw_thermostat): use total_increasing for energy sensor

Issue #5678
Jason Rumney 4 дней назад
Родитель
Сommit
e9f0781c7e

+ 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