We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4b8df commit 8e0a89dCopy full SHA for 8e0a89d
homeassistant/components/sonos/favorites.py
@@ -72,7 +72,7 @@ async def async_process_event(
72
"""Process the event payload in an async lock and update entities."""
73
event_id = event.variables["favorites_update_id"]
74
container_ids = event.variables["container_update_i_ds"]
75
- if not (match := re.search(r"FV:2,(\d+)", container_ids)):
+ if not container_ids or not (match := re.search(r"FV:2,(\d+)", container_ids)):
76
return
77
78
container_id = int(match.groups()[0])
0 commit comments