tronity / homeassistant

The Tronity Integration is a custom integration developed for Home Assistant, designed to enable you to monitor and utilize the data provided by Tronity. By integrating Tronity with Home Assistant, you can easily monitor your vehicle's data and create automations based on it.
https://www.tronity.io
MIT License
28 stars 4 forks source link

Ability to change units/measurements #13

Open pid20 opened 1 year ago

pid20 commented 1 year ago

I love the Tronity eco system and this integration looks like a fantastic start, however, being from the UK I need to be able to change KMs to Miles in the displayed information, is this something that can be done in the background as a workaround?

pantsmanuk commented 1 year ago

You can change the display units in the HA dashboard.

Click on the card item you want to change, click on the Cog icon, and then change the "Unit of Measurement" ("km" to "mi" in the case you mentioned)

@tronity (generally speaking) - this is a cleaner solution than the Node-RED way I had been previously doing this. Well done.

pid20 commented 1 year ago

Excellent thanks, obviously didn't spot that. Definitely better that the Node-Red route, I have been using that too