1) Give a description of the problem
I use the Presence tiles and I’d like something more useful than the closest location shown when the current location is blank, so was thinking of creating something to give a rough say town level value for sensor based on the lat/long info
2) What is the expected behavior?
when tiles are periodically updated, if the currentlocation is blank rather than show the previous location show a town from the lat/long info
I believe distance(a,b,unit) is a useable function to get a distance between two sensors or between a sensor and home, but is there a function to get a textual location e.g. town?
3) What is happening/not happening?
(PUT YOUR INFO HERE)
I haven’t attempted this yet as i’ve not found a free geocoding API
4) Post a Green Snapshot of the piston
n/a
5) Attach any logs (From ST IDE and by turning logging level to Full)
n/a
edit: changed from last to closest location shown when current location is blank