home-assistant / home-assistant/iOS
Battery level incompatible with long term statistics.
Open
battery
bug
ios
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
Model Name: 12 & 16 pro max
Software Version: 17
App version: 2024.9.4
**Home Assistant Core Version**
2024.10.2
**Describe the bug**
Sensor.batery_level does not provide a state class. This causes the battery level to not be logged under long term statistics. This is out of sync with the Android app as it is a state class of measurement.
**To Reproduce**
Track battery level with ios app
**Expected behavior**
Battery level to have a state class like Android app
**Screenshots**
**Additional context**
A house member changed from Android to iOS and the new repair for "state class no longer provided" triggered.
Contributor guide
Assessment
This issue has not been assessed yet.