diff --git a/homeassistant/components/zha/manifest.json b/homeassistant/components/zha/manifest.json index 295775f7333..cd153e0d2b8 100644 --- a/homeassistant/components/zha/manifest.json +++ b/homeassistant/components/zha/manifest.json @@ -9,7 +9,7 @@ "zha-quirks==0.0.39", "zigpy-cc==0.4.2", "zigpy-deconz==0.9.2", - "zigpy==0.20.1", + "zigpy==0.20.3", "zigpy-xbee==0.12.1", "zigpy-zigate==0.6.1" ], diff --git a/requirements_all.txt b/requirements_all.txt index 7e04dc858b7..f939105b188 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2251,7 +2251,7 @@ zigpy-xbee==0.12.1 zigpy-zigate==0.6.1 # homeassistant.components.zha -zigpy==0.20.1 +zigpy==0.20.3 # homeassistant.components.zoneminder zm-py==0.4.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 9ecf68ebb16..65ff7e8ef38 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -906,4 +906,4 @@ zigpy-xbee==0.12.1 zigpy-zigate==0.6.1 # homeassistant.components.zha -zigpy==0.20.1 +zigpy==0.20.3 diff --git a/tests/components/zha/common.py b/tests/components/zha/common.py index b16ae1d488e..f10ee25018f 100644 --- a/tests/components/zha/common.py +++ b/tests/components/zha/common.py @@ -48,6 +48,9 @@ class FakeEndpoint: patch_cluster(cluster) self.out_clusters[cluster_id] = cluster + reply = AsyncMock(return_value=[0]) + request = AsyncMock(return_value=[0]) + @property def __class__(self): """Fake being Zigpy endpoint.""" @@ -136,6 +139,7 @@ async def send_attributes_report(hass, cluster: int, attributes: dict): """ attrs = [make_attribute(attrid, value) for attrid, value in attributes.items()] hdr = make_zcl_header(zcl_f.Command.Report_Attributes) + hdr.frame_control.disable_default_response = True cluster.handle_message(hdr, [attrs]) await hass.async_block_till_done()