Skip to content

Commit b23134f

Browse files
authored
Reset state on error during VOIP announcement (home-assistant#156384)
1 parent f45a6f8 commit b23134f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

homeassistant/components/voip/assist_satellite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ async def _play_announcement(
492492
await asyncio.sleep(_ANNOUNCEMENT_AFTER_DELAY)
493493
except Exception:
494494
_LOGGER.exception("Unexpected error while playing announcement")
495+
self._announcement = None
495496
raise
496497
finally:
497498
self._run_pipeline_task = None

0 commit comments

Comments
 (0)