mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix threading error in zha (#62170)
This commit is contained in:
parent
112e259437
commit
9164a74fcc
@ -234,6 +234,7 @@ class GroupProbe:
|
|||||||
unsub()
|
unsub()
|
||||||
self._unsubs.remove(unsub)
|
self._unsubs.remove(unsub)
|
||||||
|
|
||||||
|
@callback
|
||||||
def _reprobe_group(self, group_id: int) -> None:
|
def _reprobe_group(self, group_id: int) -> None:
|
||||||
"""Reprobe a group for entities after its members change."""
|
"""Reprobe a group for entities after its members change."""
|
||||||
zha_gateway = self._hass.data[zha_const.DATA_ZHA][zha_const.DATA_ZHA_GATEWAY]
|
zha_gateway = self._hass.data[zha_const.DATA_ZHA][zha_const.DATA_ZHA_GATEWAY]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user