Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix an Ambient PWS exception when location info is missing #21220
A user pointed out to me that if an Ambient customer doesn't specify a device name or location name, those fields are removed from the socket response. Currently, that'll throw an unhandled exception. This PR fixes it by defaulting to using the MAC address if no name is provided.
Related issue (if applicable): N/A
Pull request in home-assistant.io with documentation (if applicable): N/A
Example entry for