SAIC-iSmart-API / saic-home-assistant-addon

SAIC-iSmart-API repository for Home Assistant OS (HASS.IO)
MIT License
58 stars 6 forks source link

Imperial Measurement #76

Closed a-d-r-i-a-n-d closed 6 months ago

a-d-r-i-a-n-d commented 6 months ago

Hi,

Could we please add an environment variable to set the measurement to imperial instead of metric? The current values are in km so you'd have to convert miles using math. I live in UK and the python MQTT gateway works great with my MG4 Xpower. Many thanks to all contributors, very much appreciated!

nanomad commented 6 months ago

Contributions are welcome.

If you use home assistant you can change the unit of measure of the sensor directly from the UI and it will do the conversion for you :)

a-d-r-i-a-n-d commented 6 months ago

Thanks for the tip @nanomad , works like a charm in HA!