Update xknx to 2.3.0 - add some DPTs, Routing security (#85658)

Update xknx to 2.3.0
This commit is contained in:
Matthias Alphart 2023-01-11 00:24:56 +01:00 committed by GitHub
parent 856895ddf5
commit db428f2141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@
"name": "KNX",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/knx",
"requirements": ["xknx==2.2.0"],
"requirements": ["xknx==2.3.0"],
"codeowners": ["@Julius2342", "@farmio", "@marvin-w"],
"quality_scale": "platinum",
"iot_class": "local_push",

View file

@ -2622,7 +2622,7 @@ xboxapi==2.0.1
xiaomi-ble==0.14.3
# homeassistant.components.knx
xknx==2.2.0
xknx==2.3.0
# homeassistant.components.bluesound
# homeassistant.components.fritz

View file

@ -1844,7 +1844,7 @@ xbox-webapi==2.0.11
xiaomi-ble==0.14.3
# homeassistant.components.knx
xknx==2.2.0
xknx==2.3.0
# homeassistant.components.bluesound
# homeassistant.components.fritz

View file

@ -58,6 +58,9 @@ class KNXTestKit:
async def patch_xknx_start():
"""Patch `xknx.start` for unittests."""
self.xknx.cemi_handler.send_telegram = AsyncMock(
side_effect=self._outgoing_telegrams.put
)
# after XKNX.__init__() to not overwrite it by the config entry again
# before StateUpdater starts to avoid slow down of tests
self.xknx.rate_limit = 0
@ -72,7 +75,6 @@ class KNXTestKit:
mock = Mock()
mock.start = AsyncMock(side_effect=patch_xknx_start)
mock.stop = AsyncMock()
mock.send_telegram = AsyncMock(side_effect=self._outgoing_telegrams.put)
return mock
def fish_xknx(*args, **kwargs):