Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from heyhewmike/heyhewmike-patch-1
Closes #21 Closes #40 * Change meter kwh sensor device classes to be total, not total increasing as its possible some backwards movement is seen on these sensors and HA will complain as it doesn't make sense for a total increasing value. Thanks for the contribution! I'm trying to understand the exact implications of this change ( https://developers.home-assistant.io/docs/core/entity/sensor/ documents these values ). It appears the only possible issue here should be *if* this sensor eventually wraps we'd see a huge negative jump and might mess up statistics. As the API is not even really an API I have no idea how big the storage is for this value so this is probably just something if we notice a huge negative value to investigate but reasonable for now.
- Loading branch information