HA Docs + Debug ARP scan

This commit is contained in:
Jokob-sk
2023-06-24 09:29:49 +10:00
parent 3d1178bd16
commit 6f1d795c60
7 changed files with 38 additions and 5 deletions

View File

@@ -19,10 +19,6 @@ def save_scanned_devices (db, p_arpscan_devices, p_cycle_interval):
mylog('debug', ['[ARP Scan] Detected devices:', len(p_arpscan_devices)])
p_arpscan_devices = conf.arpscan_devices
mylog('debug', ['[ARP Scan] Detected devices in conf:', len(p_arpscan_devices)])
# Delete previous scan data
sql.execute ("DELETE FROM CurrentScan WHERE cur_ScanCycle = ?",
(cycle,))