Bump ZHA modules versions. (#23705)
* Bump ZHA modules versions. Bump bellows-homeassistant version. Bump zigpy-homeassistant version. Bump zigpy-xbee-homeassistant version. * Update requirements_*.txt
This commit is contained in:
parent
9c1bbd1d9d
commit
8328ea6bd7
5 changed files with 8 additions and 30 deletions
|
@ -5,23 +5,6 @@ For more details about this component, please refer to the documentation at
|
|||
https://home-assistant.io/components/zha/
|
||||
"""
|
||||
|
||||
import types
|
||||
|
||||
|
||||
def apply_cluster_listener_patch():
|
||||
"""Apply patches to ZHA objects."""
|
||||
# patch zigpy listener to prevent flooding logs with warnings due to
|
||||
# how zigpy implemented its listeners
|
||||
from zigpy.appdb import ClusterPersistingListener
|
||||
|
||||
def zha_send_event(self, cluster, command, args):
|
||||
pass
|
||||
|
||||
ClusterPersistingListener.zha_send_event = types.MethodType(
|
||||
zha_send_event,
|
||||
ClusterPersistingListener
|
||||
)
|
||||
|
||||
|
||||
def apply_application_controller_patch(zha_gateway):
|
||||
"""Apply patches to ZHA objects."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue