psvanstrom / esphome-p1reader

ESPHome custom component for reading P1 data from electricity meters.
MIT License
252 stars 106 forks source link

Change state_class to total_increasing for Cumulative Active data #15

Closed newlund closed 2 years ago

newlund commented 2 years ago

See https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes

psvanstrom commented 2 years ago

Ah, nice! I just did this without checking that there already was a PR for this 🙏 , sorry for that 😄

Will close this PR as this has already been merged.