Fix threading error in zha (#62170)

This commit is contained in:
Erik Montnemery 2021-12-17 11:42:15 +01:00 committed by Franck Nijhof
parent c445e93d45
commit 54d7380f4d
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -234,6 +234,7 @@ class GroupProbe:
unsub()
self._unsubs.remove(unsub)
@callback
def _reprobe_group(self, group_id: int) -> None:
"""Reprobe a group for entities after its members change."""
zha_gateway = self._hass.data[zha_const.DATA_ZHA][zha_const.DATA_ZHA_GATEWAY]