mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-01-03 12:28:13 -05:00
MQTT #1019
This commit is contained in:
@@ -447,10 +447,11 @@ def mqtt_start(db):
|
||||
|
||||
for device in devices:
|
||||
|
||||
# debug statement START 🔻
|
||||
if 'Moto' not in device["devName"]:
|
||||
continue
|
||||
# debug statement END 🔺
|
||||
# # debug statement START 🔻
|
||||
# if 'Moto' not in device["devName"]:
|
||||
# mylog('none', [f"[{pluginName}] ALERT - ⚠⚠⚠⚠ DEBUGGING ⚠⚠⚠⚠ - this should not be in uncommented in production"])
|
||||
# continue
|
||||
# # debug statement END 🔺
|
||||
|
||||
# Create devices in Home Assistant - send config messages
|
||||
deviceId = 'mac_' + device["devMac"].replace(" ", "").replace(":", "_").lower()
|
||||
|
||||
Reference in New Issue
Block a user