Describe the bug
The sensor in HA for "State of Charge" is always returning a float.
Example: 60.0%
Expected behavior
Looking at the data from the API, an int is always returned for "State of Charge". There is no reason to convert to float.
Expected value: 60%
Screenshots
Your Vehicle Details
Model: Q5
Year: 2021
Type (ICE/PHEV/BEV): Hybrid
Describe the bug The sensor in HA for "State of Charge" is always returning a
float
. Example: 60.0%Expected behavior Looking at the data from the API, an
int
is always returned for "State of Charge". There is no reason to convert to float. Expected value: 60%Screenshots
Your Vehicle Details Model: Q5 Year: 2021 Type (ICE/PHEV/BEV): Hybrid