From 0ba2b4e253a9bc17e62c3f2b81a872de3e12c35b Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Fri, 31 May 2019 17:15:27 -0400 Subject: [PATCH] ZHA requirements version bump. (#24228) * ZHA requirements version bump. * zha-quirks version bump. --- homeassistant/components/zha/core/gateway.py | 5 +++++ homeassistant/components/zha/manifest.json | 8 ++++---- requirements_all.txt | 8 ++++---- requirements_test_all.txt | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/homeassistant/components/zha/core/gateway.py b/homeassistant/components/zha/core/gateway.py index daf14297ec1..740cd450181 100644 --- a/homeassistant/components/zha/core/gateway.py +++ b/homeassistant/components/zha/core/gateway.py @@ -116,6 +116,8 @@ class ZHAGateway: def raw_device_initialized(self, device): """Handle a device initialization without quirks loaded.""" + if device.nwk == 0x0000: + return endpoint_ids = device.endpoints.keys() ept_id = next((ept_id for ept_id in endpoint_ids if ept_id != 0), None) manufacturer = 'Unknown' @@ -259,6 +261,9 @@ class ZHAGateway: async def async_device_initialized(self, device, is_new_join): """Handle device joined and basic information discovered (async).""" + if device.nwk == 0x0000: + return + zha_device = self._async_get_or_create_device(device, is_new_join) is_rejoin = False diff --git a/homeassistant/components/zha/manifest.json b/homeassistant/components/zha/manifest.json index 610498e6237..d9f17d3f41c 100644 --- a/homeassistant/components/zha/manifest.json +++ b/homeassistant/components/zha/manifest.json @@ -4,11 +4,11 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/components/zha", "requirements": [ - "bellows-homeassistant==0.7.3", - "zha-quirks==0.0.13", + "bellows-homeassistant==0.8.0", + "zha-quirks==0.0.14", "zigpy-deconz==0.1.4", - "zigpy-homeassistant==0.3.3", - "zigpy-xbee-homeassistant==0.2.1" + "zigpy-homeassistant==0.4.2", + "zigpy-xbee-homeassistant==0.3.0" ], "dependencies": [], "codeowners": [ diff --git a/requirements_all.txt b/requirements_all.txt index efa99c6aa68..b944f37f331 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -235,7 +235,7 @@ batinfo==0.4.2 beautifulsoup4==4.7.1 # homeassistant.components.zha -bellows-homeassistant==0.7.3 +bellows-homeassistant==0.8.0 # homeassistant.components.bmw_connected_drive bimmer_connected==0.5.3 @@ -1878,7 +1878,7 @@ zengge==0.2 zeroconf==0.22.0 # homeassistant.components.zha -zha-quirks==0.0.13 +zha-quirks==0.0.14 # homeassistant.components.zhong_hong zhong_hong_hvac==1.0.9 @@ -1890,10 +1890,10 @@ ziggo-mediabox-xl==1.1.0 zigpy-deconz==0.1.4 # homeassistant.components.zha -zigpy-homeassistant==0.3.3 +zigpy-homeassistant==0.4.2 # homeassistant.components.zha -zigpy-xbee-homeassistant==0.2.1 +zigpy-xbee-homeassistant==0.3.0 # homeassistant.components.zoneminder zm-py==0.3.3 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f0f03cc47ea..bceb5f3e07f 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -73,7 +73,7 @@ av==6.1.2 axis==24 # homeassistant.components.zha -bellows-homeassistant==0.7.3 +bellows-homeassistant==0.8.0 # homeassistant.components.caldav caldav==0.6.1 @@ -355,4 +355,4 @@ wakeonlan==1.1.6 zeroconf==0.22.0 # homeassistant.components.zha -zigpy-homeassistant==0.3.3 +zigpy-homeassistant==0.4.2