mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Bump ZHA quirks to 0.0.55 (#48418)
* bump quirks version * call new setup method in quirks
This commit is contained in:
parent
35a5f110bd
commit
3aa2591b0a
@ -4,6 +4,7 @@ import asyncio
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
from zhaquirks import setup as setup_quirks
|
||||||
from zigpy.config import CONF_DEVICE, CONF_DEVICE_PATH
|
from zigpy.config import CONF_DEVICE, CONF_DEVICE_PATH
|
||||||
|
|
||||||
from homeassistant import config_entries, const as ha_const
|
from homeassistant import config_entries, const as ha_const
|
||||||
@ -92,9 +93,7 @@ async def async_setup_entry(hass, config_entry):
|
|||||||
zha_data.setdefault(platform, [])
|
zha_data.setdefault(platform, [])
|
||||||
|
|
||||||
if config.get(CONF_ENABLE_QUIRKS, True):
|
if config.get(CONF_ENABLE_QUIRKS, True):
|
||||||
# needs to be done here so that the ZHA module is finished loading
|
setup_quirks(config)
|
||||||
# before zhaquirks is imported
|
|
||||||
import zhaquirks # noqa: F401 pylint: disable=unused-import, import-outside-toplevel
|
|
||||||
|
|
||||||
zha_gateway = ZHAGateway(hass, config, config_entry)
|
zha_gateway = ZHAGateway(hass, config, config_entry)
|
||||||
await zha_gateway.async_initialize()
|
await zha_gateway.async_initialize()
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"bellows==0.23.1",
|
"bellows==0.23.1",
|
||||||
"pyserial==3.5",
|
"pyserial==3.5",
|
||||||
"pyserial-asyncio==0.5",
|
"pyserial-asyncio==0.5",
|
||||||
"zha-quirks==0.0.54",
|
"zha-quirks==0.0.55",
|
||||||
"zigpy-cc==0.5.2",
|
"zigpy-cc==0.5.2",
|
||||||
"zigpy-deconz==0.12.0",
|
"zigpy-deconz==0.12.0",
|
||||||
"zigpy==0.33.0",
|
"zigpy==0.33.0",
|
||||||
|
@ -2369,7 +2369,7 @@ zengge==0.2
|
|||||||
zeroconf==0.29.0
|
zeroconf==0.29.0
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zha-quirks==0.0.54
|
zha-quirks==0.0.55
|
||||||
|
|
||||||
# homeassistant.components.zhong_hong
|
# homeassistant.components.zhong_hong
|
||||||
zhong_hong_hvac==1.0.9
|
zhong_hong_hvac==1.0.9
|
||||||
|
@ -1227,7 +1227,7 @@ zeep[async]==4.0.0
|
|||||||
zeroconf==0.29.0
|
zeroconf==0.29.0
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zha-quirks==0.0.54
|
zha-quirks==0.0.55
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zigpy-cc==0.5.2
|
zigpy-cc==0.5.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user