hassio-addons / addon-airsonos

AirSonos - Home Assistant Community Add-ons
https://addons.community
MIT License
86 stars 11 forks source link

Devices overwritten when renamed #142

Closed cpfarhood closed 1 year ago

cpfarhood commented 1 year ago

Problem/Motivation

If you rename devices in the airsonos yaml configuration they're overwritten on restart.

Expected behavior

The configuration to remain as edited

Actual behavior

The device and all associated settings are overwritten

Steps to reproduce

Edit the name of a device, restart the add-on.

Proposed changes

Parse devices based on mac address and preserve edits.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!