Browse Source

Add total energy class

Estevão Costa 1 year ago
parent
commit
08a2d81c36
1 changed files with 1 additions and 0 deletions
  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