Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do sensors need state_class: measurement #121

Open
TonyM1958 opened this issue Apr 6, 2023 · 1 comment
Open

Do sensors need state_class: measurement #121

TonyM1958 opened this issue Apr 6, 2023 · 1 comment

Comments

@TonyM1958
Copy link

TonyM1958 commented Apr 6, 2023

A number of the BMS sensors (11037, 11041, 11042, 11045, 11046) don't have

state_class: measurement

in their definition in modbusUSB.yaml so, as I undestand it, won't be storing any long term statistics whilst most other sensors do have this.

Is this intentional or should these sensors also have this property?

@TonyM1958
Copy link
Author

only works for device_class power. For sensors with device_class energy, a state_class of none, total or total_increasing is required e.g. for Solar Energy Total.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant