summaryrefslogtreecommitdiff
path: root/bin/sound_bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sound_bot.py')
-rwxr-xr-xbin/sound_bot.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/sound_bot.py b/bin/sound_bot.py
index 518151d..fa22ba7 100755
--- a/bin/sound_bot.py
+++ b/bin/sound_bot.py
@@ -11,7 +11,7 @@ from typing import Optional, List, Dict, Tuple
from homekit.config import config
from homekit.api import WebApiClient
-from homekit.api.types import SoundSensorLocation, BotType
+from homekit.api.types import SoundSensorLocation
from homekit.api.errors import ApiResponseError
from homekit.media import SoundNodeClient, SoundRecordClient, SoundRecordFile, CameraNodeClient
from homekit.soundsensor import SoundSensorServerGuardClient
@@ -884,7 +884,5 @@ if __name__ == '__main__':
finished_handler=record_onfinished,
download_on_finish=True)
- if 'api' in config:
- bot.enable_logging(BotType.SOUND)
bot.run()
record_client.stop()