Estevão Costa пре 1 година
родитељ
комит
08a2d81c36
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      custom_components/tuya_local/devices/hisb80a_energymeter.yaml

+ 1 - 0
custom_components/tuya_local/devices/hisb80a_energymeter.yaml

@@ -17,6 +17,7 @@ entities:
         type: integer
         name: sensor
         unit: kWh
+        class: total
         mapping:
           - scale: 10
         precision: 1