Fix threading error in zha (#62170)

This commit is contained in:
Erik Montnemery
2021-12-17 11:43:04 +01:00
committed by Franck Nijhof
parent c445e93d45
commit 54d7380f4d
@@ -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]