diff --git a/custom_components/zha_map/__init__.py b/custom_components/zha_map/__init__.py index 896d1ce..46690d1 100644 --- a/custom_components/zha_map/__init__.py +++ b/custom_components/zha_map/__init__.py @@ -197,7 +197,7 @@ async def sanity_check(self): ) else: self.debug( - "%s (%s %s) was not found in the neighbours " "tables", + "%s (%s %s) was not found in the neighbours tables", dev.ieee, dev.manufacturer, dev.model, @@ -207,6 +207,7 @@ async def sanity_check(self): nei.model = dev.model nei.manufacturer = dev.manufacturer nei.offline = True + nei.device_type = dev.node_desc.logical_type.name self._seen[dev.ieee] = nei async def scan_device(self, device):