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

Please add decimal point to lat / long values

Closed this issue · 3 comments

MQTT lat / long data contains no decimal points rendering Home Assistant unable to render the location when used as a device tracker.
Can a decimal point be inserted in the values please.

(Using the Python version)

By using the python gateway there's already a device tracker (mqtt autodiscovery). Take a look at the mqtt integration in Home Assistant.
Additionally there are three mqtt topics which contain the position, longitude and latitude with a decimal point.

So there's nothing to do for me :)

Wow ! I have no idea how i missed that !

Well, thank-you for pointing that out AND for developing this add-on.
It's very much appreciated.