fix after rebase merge

This commit is contained in:
Gilles Boccon-Gibod
2024-08-09 18:12:55 -07:00
parent f66633459e
commit a699520188
9 changed files with 39 additions and 32 deletions

View File

@@ -495,6 +495,10 @@ async def run_assist(
print(color('Scanning for any broadcast', 'cyan'))
broadcast = await find_broadcast_by_name(device, broadcast_name)
if broadcast.broadcast_audio_announcement is None:
print(color('No broadcast audio announcement found', 'red'))
return
if (
broadcast.basic_audio_announcement is None
or not broadcast.basic_audio_announcement.subgroups