I have a rule designed to detect lightning, send me a notification and flash some lights.
The notification triggers with all lightening, but only reports if Lightning is < 10 miles away.
I would like to the notification to state 'Lightning is X (%value) miles away' but currently states the %value as the time of the lightning strike. How can I get the notification to report the distance?