1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Use node descriptor from Zigpy for ZHA (#24316)

* use zigpy node descriptor

* cleanup
This commit is contained in:
David F. Mulcahey
2019-06-06 08:31:03 -04:00
committed by GitHub
parent 9fb1f2fa17
commit ae1bcd5fef
8 changed files with 40 additions and 95 deletions

View File

@@ -82,6 +82,8 @@ class FakeDevice:
self.initializing = False
self.manufacturer = manufacturer
self.model = model
from zigpy.zdo.types import NodeDescriptor
self.node_desc = NodeDescriptor()
def make_device(in_cluster_ids, out_cluster_ids, device_type, ieee,