andyboeh / esphome-amis

AMIS Smart Meter custom component for ESPHome
13 stars 6 forks source link

Update sensor.py with state_class_total_increasing #4

Closed grisu122 closed 1 year ago

grisu122 commented 1 year ago

Energie counters need to be state_class total_increasing to be configured in homeassistants energy dashboard. source is this post: https://community.home-assistant.io/t/help-with-esphome-and-energy-devices-not-available-in-energy-dashboard/337607

andyboeh commented 1 year ago

Looks good to me, thanks