not really sure it is since HA 115, but all many of my geo_location sensors created by the GDACS integration show with a state of 0.0 km.
The lat/long are correct, and they show up correctly in the map, but the state is wrong, which makes it rather difficult to create a notification based on the distance to the event…
anyone else seeing this?
or is it that the zone for which this alert has been issued, is so wide, my country falls within that zone, even though he epicenter is located quite some distance away (almost 400 km)
Basically, if the GDACS event defines a rectangle/box around those countries listed and your location is within that rectangle then the distance will be 0km, not the distances to the latitude/longitude listed as the centre of the event.
Maybe it’s about time to change that behaviour?
Finally found the time to fix this. Basically the new version of the integration library ignores bounding boxes defined for the event, and now solely relies on the point defined by the event (typically at the centre of the event).