Hi
I’ve set up the NSW RFS geo-location in HA and I’m trying to create a notification to send to my phone if a new event occurs. However, it doesn’t appear to be working. When I trigger the automation to test it I don’t get a message sent. Any ideas where I may be going wrong?
Thanks.
When you manually trigger the automation there is no actual event, so any action using trigger.event won’t work.
For testing purposes you could temporarily increase the radius and possibly include the “Not Applicable” category. There is always some type of fire reported somewhere in NSW.
Yes, trigger.event is just going to be “enter” or “leave”. You want to look at the state and attributes: trigger.to_state in an “enter” event, and trigger.from_state in a “leave” event.
Here some examples with HTML-formatted messages for pushover notifications:
FYI - this issue has been fixed in a new version of the integration library. With a bit of luck a reinstall of the system (of the current version) will automatically retrieve that latest version, otherwise, the next version of HA will enforce the minimum version including this fix.
The issue was related to me not having set up my automated unit tests with the correct syntax of a GeoJSON feed which in turn made parsing polygons fail.
I’m running HA in a venv environment, so can’t say for sure if that works in your setup. However, if your update process reinstalls the integration library - aio_geojson_nsw_rfs_incidents v0.1 - then this should automatically install its latest dependency - aio_geojson_client v0.13 - which contains the fix.
can I manually install the integration library? Downgrading and upgrading didn’t help… (If it’s just a few files I can probably do that in the container…)