From c2da4ca2ebfa7368a0579a73d90ce1069c6faf1a Mon Sep 17 00:00:00 2001 From: Darell Tan Date: Mon, 12 Jan 2026 22:34:01 +0800 Subject: [PATCH] Relax skipped device checks to allow mains-powered dimmers Technically we should only have skipped the Coordinator because that has a zero address. Mains dimmers are usually also Routers, not EndDevices. --- z2m.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z2m.go b/z2m.go index a019b2a..8b47f3a 100644 --- a/z2m.go +++ b/z2m.go @@ -79,7 +79,7 @@ func createAccessory(dev *Device) (*accessory.A, []*ExposeMapping, error) { if dev.Disabled || !dev.Supported || !dev.InterviewCompleted || - dev.Type != "EndDevice" { + dev.Type == "Coordinator" { return nil, nil, ErrDeviceSkipped }