fix(zigbee): hide check method in modal, force none/online for zigbee nodes

Zigbee nodes have no IP-based check — hide Check Method and Check Target
fields in NodeModal for all three zigbee types. Default and force
check_method='none' so the scheduler marks them always online.
Backend approve and zigbee import routes also set status='online' and
check_method='none' for zigbee node types.
This commit is contained in:
Pouzor
2026-05-13 11:14:35 +02:00
parent 0680566081
commit fff11a4b6a
4 changed files with 63 additions and 32 deletions
+2 -1
View File
@@ -157,7 +157,8 @@ async def _persist_pending_import(
node = Node(
label=label,
type=n.get("type") or "zigbee_coordinator",
status="unknown",
status="online",
check_method="none",
ieee_address=ieee,
services=[],
)