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

Remove "Measurement" state class from battery sensor. #24

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

markvader
Copy link
Owner

Using state_class of SensorStateClass.MEASUREMENT leads to warning from HA about expecting numeric value. Sonic battery level is only ever returned as string "high, medium, low"

See: #23

Using state_class of SensorStateClass.MEASUREMENT leads to warning from HA about expecting numeric value.  Sonic battery level is only ever returned as string "high, medium, low"

See: #23
@markvader markvader merged commit 634793f into main Jul 27, 2023
2 of 4 checks passed
@markvader markvader deleted the markvader-fix-battery-sensor branch August 3, 2023 21:46
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

Successfully merging this pull request may close these issues.

1 participant