mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
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
@ -17,7 +17,6 @@ from .core.const import (
|
|||||||
CONF_RADIO_TYPE, CONF_USB_PATH, DATA_ZHA, DATA_ZHA_CONFIG,
|
CONF_RADIO_TYPE, CONF_USB_PATH, DATA_ZHA, DATA_ZHA_CONFIG,
|
||||||
DATA_ZHA_CORE_COMPONENT, DATA_ZHA_DISPATCHERS, DATA_ZHA_GATEWAY,
|
DATA_ZHA_CORE_COMPONENT, DATA_ZHA_DISPATCHERS, DATA_ZHA_GATEWAY,
|
||||||
DEFAULT_BAUDRATE, DEFAULT_RADIO_TYPE, DOMAIN, ENABLE_QUIRKS, RadioType)
|
DEFAULT_BAUDRATE, DEFAULT_RADIO_TYPE, DOMAIN, ENABLE_QUIRKS, RadioType)
|
||||||
from .core.patches import apply_cluster_listener_patch
|
|
||||||
from .core.registries import establish_device_mappings
|
from .core.registries import establish_device_mappings
|
||||||
|
|
||||||
DEVICE_CONFIG_SCHEMA_ENTRY = vol.Schema({
|
DEVICE_CONFIG_SCHEMA_ENTRY = vol.Schema({
|
||||||
@ -91,10 +90,6 @@ async def async_setup_entry(hass, config_entry):
|
|||||||
# pylint: disable=W0611, W0612
|
# pylint: disable=W0611, W0612
|
||||||
import zhaquirks # noqa
|
import zhaquirks # noqa
|
||||||
|
|
||||||
# patch zigpy listener to prevent flooding logs with warnings due to
|
|
||||||
# how zigpy implemented its listeners
|
|
||||||
apply_cluster_listener_patch()
|
|
||||||
|
|
||||||
zha_gateway = ZHAGateway(hass, config)
|
zha_gateway = ZHAGateway(hass, config)
|
||||||
await zha_gateway.async_initialize(config_entry)
|
await zha_gateway.async_initialize(config_entry)
|
||||||
|
|
||||||
|
@ -5,23 +5,6 @@ For more details about this component, please refer to the documentation at
|
|||||||
https://home-assistant.io/components/zha/
|
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):
|
def apply_application_controller_patch(zha_gateway):
|
||||||
"""Apply patches to ZHA objects."""
|
"""Apply patches to ZHA objects."""
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
"name": "Zigbee Home Automation",
|
"name": "Zigbee Home Automation",
|
||||||
"documentation": "https://www.home-assistant.io/components/zha",
|
"documentation": "https://www.home-assistant.io/components/zha",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"bellows-homeassistant==0.7.2",
|
"bellows-homeassistant==0.7.3",
|
||||||
"zha-quirks==0.0.9",
|
"zha-quirks==0.0.9",
|
||||||
"zigpy-deconz==0.1.4",
|
"zigpy-deconz==0.1.4",
|
||||||
"zigpy-homeassistant==0.3.2",
|
"zigpy-homeassistant==0.3.3",
|
||||||
"zigpy-xbee-homeassistant==0.2.0"
|
"zigpy-xbee-homeassistant==0.2.1"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
|
@ -224,7 +224,7 @@ batinfo==0.4.2
|
|||||||
beautifulsoup4==4.7.1
|
beautifulsoup4==4.7.1
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
bellows-homeassistant==0.7.2
|
bellows-homeassistant==0.7.3
|
||||||
|
|
||||||
# homeassistant.components.bmw_connected_drive
|
# homeassistant.components.bmw_connected_drive
|
||||||
bimmer_connected==0.5.3
|
bimmer_connected==0.5.3
|
||||||
@ -1857,10 +1857,10 @@ ziggo-mediabox-xl==1.1.0
|
|||||||
zigpy-deconz==0.1.4
|
zigpy-deconz==0.1.4
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zigpy-homeassistant==0.3.2
|
zigpy-homeassistant==0.3.3
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zigpy-xbee-homeassistant==0.2.0
|
zigpy-xbee-homeassistant==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.zoneminder
|
# homeassistant.components.zoneminder
|
||||||
zm-py==0.3.3
|
zm-py==0.3.3
|
||||||
|
@ -70,7 +70,7 @@ av==6.1.2
|
|||||||
axis==22
|
axis==22
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
bellows-homeassistant==0.7.2
|
bellows-homeassistant==0.7.3
|
||||||
|
|
||||||
# homeassistant.components.caldav
|
# homeassistant.components.caldav
|
||||||
caldav==0.6.1
|
caldav==0.6.1
|
||||||
@ -342,4 +342,4 @@ vultr==0.1.2
|
|||||||
wakeonlan==1.1.6
|
wakeonlan==1.1.6
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zigpy-homeassistant==0.3.2
|
zigpy-homeassistant==0.3.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user