RM Reporting %value% question

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?

"%value" is always the value of the Trigger.

Make a local variable, like "Miles", then:

Set Miles to Weather LightningStrikeLastDistance
Notify Justin's iPhone: 'Lightning is %Miles% away.'
1 Like