Skip to content

Releases: finity69x2/nws_alerts

update manifest file

06 Jan 01:47
0b0c98c
Compare
Choose a tag to compare

I forgot to update the manifest. Oops!

Minor Breaking Change (v6.0 or later)

After installing the update to version 6.x or later from an earlier version your sensor Unique ID and Entity ID will likely change.

The integration will likely create a new sensor entity that will have "_alerts" appended to the new entity ID. If you used the default naming for the original sensor the new sensor will be called "sensor.nws_alerts_alerts".

You can either choose to fix the new sensor entity_id to match the old one or update all of the locations in which you use the sensor to the newly updated entity_id. Either way you will need to delete the old unavailable entity_id. Fixing the new entity_id is the easiest in my opinion.

To fix the entity_id simply open the integration and navigate to the entities list.

image

You should now see that there are three entities associated with the updated integration - if there are only two then this likely doesn't apply to you. As you can see I've already fixed one of my test integration instances so it only has two entities now.

Select the old sensor entity. It will be the one without the "_alerts" added to the end and it will have a red circle icon at the right (indicating it is now "unavailable").

image

Open the settings cog in the top right corner.

image

Then delete that entity.

image

You can now go back to the prior entities list (there should now be only two entities listed) and edit the entity_id of the newly created sensor and just remove the "_alerts" from the end.

image

You should then be back to where you started before the update and all of your automations, scripts, etc should work as before.

Fixes

No longer have entities go unavailable when Weather.gov API get's flaky

Enhancement

Add new sensor "last_updated" to indicate when the last successful API call was completed.

Bug fix and adds additional sensor

05 Jan 05:23
032c546
Compare
Choose a tag to compare

Minor Breaking Change

After installing this update your sensor Unique ID and Entity ID will likely change.

The integration will likely create a new sensor entity that will have "_alerts" appended to the new entity ID. If you used the default naming for the original sensor the new sensor will be called "sensor.nws_alerts_alerts".

You can either choose to fix the new sensor entity_id to match the old one or update all of the locations in which you use the sensor to the newly updated entity_id. Either way you will need to delete the old unavailable entity_id. Fixing the new entity_id is the easiest in my opinion.

To fix the entity_id simply open the integration and navigate to the entities list.

image

You should now see that there are three entities associated with the updated integration - if there are only two then this likely doesn't apply to you. As you can see I've already fixed one of my test integration instances so it only has two entities now.

Select the old sensor entity. It will be the one without the "_alerts" added to the end and it will have a red circle icon at the right (indicating it is now "unavailable").

image

Open the settings cog in the top right corner.

image

Then delete that entity.

image

You can now go back to the prior entities list (there should now be only two entities listed) and edit the entity_id of the newly created sensor and just remove the "_alerts" from the end.

image

You should then be back to where you started before the update and all of your automations, scripts, etc should work as before.

Fixes

No longer have entities go unavailable when Weather.gov API get's flaky

Enhancement

Add new sensor "last_updated" to indicate when the last successful API call was completed.

Address an API glitch causing frequent state changes (issue #70)

16 Dec 18:48
2e4a2ee
Compare
Choose a tag to compare

Adds extra error handling for invalid attributes returned from API.

Add extra requested attributes

04 Sep 02:56
0e747f0
Compare
Choose a tag to compare

Small change to add two new attributes as requested for "ends" and "areaDesc" (areas affected) information.

Complete rewrite of alerts attributes structure

04 Aug 18:54
f9c6807
Compare
Choose a tag to compare

MAJOR BREAKING CHANGES!

The alerts attributes data structure has been completely reorganized for better human readability and it will hopefully lend itself to easier data retrieval as necessary.

None of the existing automations, scripts or dashboard examples will continue to function with this update so be sure to update those in your system as well if you use them.

I've tested the changes as thoroughly as possible but I can't guarantee that I have made some mistake that I've missed. So as always please let me know of anything that needs fixed and...

Use at your own risk.

add onset attribute

15 Jul 05:47
3a0b041
Compare
Choose a tag to compare

Added an "Onset" attribute and cleaned up some documentation

Changes to use async_forward_entry_setups

14 Jul 04:22
7a42068
Compare
Choose a tag to compare

No functionality changes

Thanks @Snuffy2 for the updated code

minor update to manifest

11 May 00:35
f01d2b5
Compare
Choose a tag to compare
4.1

Update manifest.json

Adds the ability to use a device_tracker for alert location data

09 May 07:01
5292ebf
Compare
Choose a tag to compare

You can now optionally configure a dynamically updated NWS Alerts sensor by adding a device_tracker entity to the sensor config.

This is particularly useful if you travel outside of your statically configured Zone or GPS location and want to get updated NWS alerts for your current location.

Combines the Zone ID integration and the GPS Location integrations

22 Mar 01:17
fbb67d9
Compare
Choose a tag to compare

This is an updated version of the NWS integration that combines the previous Zone ID integration version with the new GPS location integration option.

There should be no breaking changes with this update.

Please report any issues.