Update xknx to 0.19.1 (#65275)

This commit is contained in:
Matthias Alphart 2022-01-31 05:12:44 +01:00 committed by GitHub
parent 385f1f3dad
commit d4370395e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 14 deletions

View File

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

View File

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

View File

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

View File

@ -13,7 +13,7 @@ from xknx.telegram import Telegram, TelegramDirection
from xknx.telegram.address import GroupAddress, IndividualAddress
from xknx.telegram.apci import APCI, GroupValueRead, GroupValueResponse, GroupValueWrite
from homeassistant.components.knx import ConnectionSchema, KNXModule
from homeassistant.components.knx import ConnectionSchema
from homeassistant.components.knx.const import (
CONF_KNX_AUTOMATIC,
CONF_KNX_CONNECTION_TYPE,
@ -40,11 +40,6 @@ class KNXTestKit:
# telegrams to an InternalGroupAddress won't be queued here
self._outgoing_telegrams: asyncio.Queue = asyncio.Queue()
@property
def knx_module(self) -> KNXModule:
"""Get the KNX module."""
return self.hass.data[KNX_DOMAIN]
def assert_state(self, entity_id: str, state: str, **attributes) -> None:
"""Assert the state of an entity."""
test_state = self.hass.states.get(entity_id)

View File

@ -39,11 +39,11 @@ def _gateway_descriptor(
) -> GatewayDescriptor:
"""Get mock gw descriptor."""
return GatewayDescriptor(
"Test",
ip,
port,
"eth0",
"127.0.0.1",
name="Test",
ip_addr=ip,
port=port,
local_interface="eth0",
local_ip="127.0.0.1",
supports_routing=True,
supports_tunnelling=True,
supports_tunnelling_tcp=supports_tunnelling_tcp,