Update xknx to 0.19.0 (#64379)

This commit is contained in:
Matthias Alphart 2022-01-18 21:38:13 +01:00 committed by GitHub
parent 4cd222e70a
commit 29baad8848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/knx", "documentation": "https://www.home-assistant.io/integrations/knx",
"requirements": [ "requirements": [
"xknx==0.18.15" "xknx==0.19.0"
], ],
"codeowners": [ "codeowners": [
"@Julius2342", "@Julius2342",

View File

@ -2490,7 +2490,7 @@ xbox-webapi==2.0.11
xboxapi==2.0.1 xboxapi==2.0.1
# homeassistant.components.knx # homeassistant.components.knx
xknx==0.18.15 xknx==0.19.0
# homeassistant.components.bluesound # homeassistant.components.bluesound
# homeassistant.components.fritz # homeassistant.components.fritz

View File

@ -1518,7 +1518,7 @@ wolf_smartset==0.1.11
xbox-webapi==2.0.11 xbox-webapi==2.0.11
# homeassistant.components.knx # homeassistant.components.knx
xknx==0.18.15 xknx==0.19.0
# homeassistant.components.bluesound # homeassistant.components.bluesound
# homeassistant.components.fritz # homeassistant.components.fritz

View File

@ -60,13 +60,13 @@ class KNXTestKit:
def fish_xknx(*args, **kwargs): def fish_xknx(*args, **kwargs):
"""Get the XKNX object from the constructor call.""" """Get the XKNX object from the constructor call."""
self.xknx = args[0] self.xknx = kwargs["xknx"]
# disable rate limiter for tests (before StateUpdater starts) # disable rate limiter for tests (before StateUpdater starts)
self.xknx.rate_limit = 0 self.xknx.rate_limit = 0
return DEFAULT return DEFAULT
with patch( with patch(
"xknx.xknx.KNXIPInterface", "xknx.xknx.knx_interface_factory",
return_value=knx_ip_interface_mock(), return_value=knx_ip_interface_mock(),
side_effect=fish_xknx, side_effect=fish_xknx,
): ):