1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00

Fix zha log message (#73626)

This commit is contained in:
epenet 2022-06-17 12:13:16 +02:00 committed by GitHub
parent 546d342604
commit e0b362ef3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,7 +672,7 @@ class ZHAGateway:
async def async_remove_zigpy_group(self, group_id: int) -> None:
"""Remove a Zigbee group from Zigpy."""
if not (group := self.groups.get(group_id)):
_LOGGER.debug("Group: %s:0x%04x could not be found", group.name, group_id)
_LOGGER.debug("Group: 0x%04x could not be found", group_id)
return
if group.members:
tasks = []