flask scheduler logging warning suppress

This commit is contained in:
matt committed 2026-10-13 03:26:11 -07:00
1 parent 5121589dad
commit b9a61dbeed
2 files changed
+3

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ import asyncio
from bleak import BleakClient, BleakScanner
import warnings
warnings.filterwarnings("ignore")
logging.getLogger('apscheduler').setLevel(logging.ERROR)
# Mi sensor UUIDs
MI_SERVICE_UUID = "ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6"