fixes conflict with smart device plugin

This commit is contained in:
Justin Mitchell
2026-04-09 13:29:18 -04:00
parent 390f22b7a3
commit f9e1551ae8
+3
View File
@@ -260,6 +260,9 @@ def discover_device(timeout=2.0, debug=False, logger=None, extra_hosts=None):
text = data.decode('utf-8', 'ignore')
except Exception:
continue
if not text.startswith('crosspoint'):
_log(logger, debug, f'[CrossPoint WS] discovery ignoring non-crosspoint response: {text}')
continue
semi = text.find(';')
port = 81
if semi != -1: