Skip to content

Individualize API request User-Agent

Latest

Choose a tag to compare

@finity69x2 finity69x2 released this 14 Apr 07:03
f51aaaf

It was pointed out that because the "User-Agent" for the API request was hard-coded into the integration that if the NWS blocked a user who might be abusing the API request that all users who use the integration would be blocked from the using the API.

Obviously this would be very undesirable.

This update hopefully resolves that (very unlikely) possibility by creating a dynamic User-Agent to be used by your own integration that is linked to your own Home Assistant instance ID.

This change should be completely transparent to the user and doesn't change any functionality.

Thanks to @seevee for the PR to fix this.