ytube_music_player
ytube_music_player copied to clipboard
Critical - Can't Remove default output devices and set new output device if it's removed from HA Devices
Enabling DEBUG Output in DevTools doesn't log below described issue
Describe the bug Can't seems to remove default output device from ytube_music_play Configuration if the selected output devices are completely removed from HA. Also If I try to select new default output device, it prevents from saving the config because non-existed device listed in config. Please see below screenshot error message in red and highlighted devices that were removed but still exists in config and can't be removed and no option to deselect or remove them.
Version Home Assistant: | 2022.4.2 HACS - Integration version: | 1.24.4 HACS - Frontend version: | 20220401183545 HACS - ytube_music_player version: | 20220303.01
To Reproduce Steps to reproduce the behavior:
- Go to 'HACS - add yTubeMediaPlayer integration' then
- Go to HA Configuration -> Devices & Services -> "+ Add Integration" -> search for "ytube_music_player" Select and Add integration
- Go to HA Configuration -> Devices & Services -> 'ytube_music_player' Configure
- under "Select the default output device" -> select one of your media player -> then click submit
- Lets say you remove the selected media player from your HA devices completely and now you select new default media player in 'ytube_music_player', you will be able to select new media player, however you won't be able remove previously selected media player and your new output device config can't be saved.
Thanks
I'm having the same issue, is there a workaround for this, thanks
I ran into this same issue as well, for anyone else, the only reasonable workaround is to copy the cookie from the configuration screen, then delete the integration, and re-add it, pasting your cookie back in and selecting the new appropriate default player.
Just deleted a media player entity and I am facing the same issue.
If at least we could avoid the dropdown list on the configure page, this could be resolve by just deleting the reference for teh deleted media player entity.
please try with the latest version
@KoljaWindeler Perfect. Working great now. Thanks a lot for the update and all good work on the integration.