-
Notifications
You must be signed in to change notification settings - Fork 22
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 "in KM" from "Next inspection" and "Oil service" sensors #496
Comments
Well, I guess I will answer myself to this feature request. Just downloaded diagnostics file, and I see API only reports those values in kilometres, so I had to create template sensor:
Can somebody correct me if I am wrong. |
The API definitely only returns metric units from what I've seen but I thought HA would be able to convert to your configured unit system (Settings -> General -> Unit System) automatically as long as the entities have correct |
Thanks @dvx76, I don't think this solution would not work for me as it would change a lot more entities unit of measurements. The only problem (well, not really a problem, but visual abnormality) is 2 of the above sensors ( I guess that could be changed from: Similar with Oil service "Oil service in KM" to "Oil service" ( |
@WebSpider it makes sense to me that the entity names do not include the unit since it could end up being converted to a different unit + the Drawback is that this will only take effect after re-installing the integration (or probably we need to look into migration flows...) |
I agree 100% on this. Have been scouting code for migrations in device registry and entity registry yesterday, but sleep won 😆 Also see #502 that introduces config schema's so we can do this in a seamless manner |
Hi,
First of all, thank you for your work on this add-on.
Do API requests also provide imperial measurements for sensors? I have my Kamiq set for UK market, so all measurements are in miles, but add-on provides
sensor.skoda_kamiq_range
,sensor.skoda_kamiq_next_inspection_in_km
,sensor.skoda_kamiq_oil_service_in_km
andsensor.skoda_kamiq_mileage
are in kilometres. If so, could we have those sensors providing measurements in miles, please?I am having difficulties converting kilometres into miles, as I am getting different factors:
My current measurements from addon and what it shows in car:
range: 249m (car) / 402km (addon) = 1.614457831325301mileage: 117m (car)/117.2m (trip mileage) /188km (addon) = 1.606837606837607/1.604095563139932127.6m / 205.4km = 1.609717868338558
The text was updated successfully, but these errors were encountered: