Skip to content

Commit

Permalink
Merge pull request #17 from thecem/patch-1
Browse files Browse the repository at this point in the history
add state_class total_increasing to connection charged
  • Loading branch information
mk-maddin authored Apr 2, 2023
2 parents 8be433d + 409a47d commit 3eb5180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/wattpilot/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ sensor:
#icon: "mdi:meter-electric" #not available (yet)
icon: "mdi:ev-station"
device_class: energy
state_class: total
unit_of_measurement: "Wh"
#entity_category: diagnostic
state_class: total

- source: property
id: ffb
Expand Down Expand Up @@ -439,6 +439,7 @@ sensor:
#icon: "mdi:meter-electric-outline" # not available (yet)
icon: "mdi:ev-station"
device_class: energy
state_class: total_increasing
unit_of_measurement: "Wh"

- source: property
Expand Down

0 comments on commit 3eb5180

Please sign in to comment.