From 37d6d44fe3c1c2ddf890d7017793106e0c040c8f Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Fri, 29 Oct 2021 14:20:11 -0400 Subject: [PATCH] Add basic clusters to both coordinator endpoints ("fixes" #72) --- zigpy_znp/zigbee/application.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zigpy_znp/zigbee/application.py b/zigpy_znp/zigbee/application.py index 4f850406..6eb923ca 100644 --- a/zigpy_znp/zigbee/application.py +++ b/zigpy_znp/zigbee/application.py @@ -1080,7 +1080,10 @@ async def _register_endpoints(self) -> None: DeviceId=zigpy.profiles.zha.DeviceType.IAS_CONTROL, DeviceVersion=0b0000, LatencyReq=c.af.LatencyReq.NoLatencyReqs, - InputClusters=[clusters.general.Ota.cluster_id], + InputClusters=[ + clusters.general.Basic.cluster_id, + clusters.general.Ota.cluster_id, + ], OutputClusters=[ clusters.security.IasZone.cluster_id, clusters.security.IasWd.cluster_id, @@ -1096,7 +1099,7 @@ async def _register_endpoints(self) -> None: DeviceId=zigpy.profiles.zll.DeviceType.CONTROLLER, DeviceVersion=0b0000, LatencyReq=c.af.LatencyReq.NoLatencyReqs, - InputClusters=[], + InputClusters=[clusters.general.Basic.cluster_id], OutputClusters=[], ), RspStatus=t.Status.SUCCESS,