feat(microphone): PollMonitor meldet fehlendes Gerät sofort beim Start

This commit is contained in:
2026-05-14 17:40:36 +02:00
parent de6c61aeb3
commit 7095b0b325
2 changed files with 36 additions and 0 deletions
+6
View File
@@ -32,6 +32,12 @@ class PollMonitor:
async def start(self) -> None:
self._known_devices = self._current_devices()
if (
self.configured_device
and self.configured_device not in self._known_devices
and self.on_configured_missing
):
await self.on_configured_missing()
self._task = asyncio.create_task(self._loop())
def stop(self) -> None: