Unable to clear include/exclude devices after initial integration configuration.
bugalexa_mediaby design
### Describe the bug
Unable to clear either the include or exclude devices configurations after initial integration configuration.
### To Reproduce
Add an entry (correct or otherwise) to either the include devices or exclude devices field in the integtation configuration. Submit it.
Try to reconfigure the integration and clear the field you previously added an entry to. Tab off the field to ensure it sticks. Submit the configuraiton form.
Try to reconfigure the integration - the entry is back in the field.
### Expected behavior
When clearing the field, the action persists, so that e.g. if you get the device name wrong when you just want to include a few devices, you can unfilter the inclusions, check the device names when they repopulate and then correct the include only field.
Or if you just change your mind and want to include all the devices again!
### Screenshots
_No response_
### Home Assistant Version
2026.4.4
### Alexa Media Player Version
5.15.1
### Alexa Media Player API library Version
(can't see this)
### Have you entered a 52-character key for Amazon 2SV via Authenticator App login?
Yes
### Is the HA core integration Alexa Devices installed?
No
### Amazon Domain
amazon.co.uk (UK)
### Amazon Domain (if Other)
_No response_
### Debug Logs (alexa_media & alexapy)
```text
```
### Additional context
Everything works ok, just can't get the include/exclude devices configuration to "stick".
3 条评论