ZHA requirements version bump. (#24228)

* ZHA requirements version bump.
* zha-quirks version bump.
pull/24233/head
Alexei Chetroi 2019-05-31 17:15:27 -04:00 committed by GitHub
parent 1e6b91b05a
commit 0ba2b4e253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 10 deletions

View File

@ -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

View File

@ -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": [

View File

@ -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

View File

@ -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