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