From ee56fd1eb053c8192aad05256b8ce3234fd36d8b Mon Sep 17 00:00:00 2001 From: Matt <47545907+SoundMatt@users.noreply.github.com> Date: Sat, 23 May 2026 09:42:43 +1000 Subject: [PATCH] Fix two HEOS bugs: host set construction and missing error decorator (#171913) --- homeassistant/components/heos/config_flow.py | 2 +- homeassistant/components/heos/media_player.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/heos/config_flow.py b/homeassistant/components/heos/config_flow.py index 8cc20c7a3391..26b8dbd34994 100644 --- a/homeassistant/components/heos/config_flow.py +++ b/homeassistant/components/heos/config_flow.py @@ -116,7 +116,7 @@ async def _validate_auth( def _get_current_hosts(entry: HeosConfigEntry) -> set[str]: """Get a set of current hosts from the entry.""" - hosts = set(entry.data[CONF_HOST]) + hosts = {entry.data[CONF_HOST]} if hasattr(entry, "runtime_data"): hosts.update( player.ip_address diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index 56314b937afe..2803443b7721 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -473,6 +473,7 @@ class HeosMediaPlayer(CoordinatorEntity[HeosCoordinator], MediaPlayerEntity): await self.coordinator.heos.set_group(new_members) return + @catch_action_error("remove from queue") async def async_remove_from_queue(self, queue_ids: list[int]) -> None: """Remove items from the queue.""" await self._player.remove_from_queue(queue_ids)