mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
Update xknx to 0.19.1 (#65275)
This commit is contained in:
parent
6b6bd381fd
commit
5d7aefa0b4
@ -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.19.0"
|
"xknx==0.19.1"
|
||||||
],
|
],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
"@Julius2342",
|
"@Julius2342",
|
||||||
|
@ -2496,7 +2496,7 @@ xbox-webapi==2.0.11
|
|||||||
xboxapi==2.0.1
|
xboxapi==2.0.1
|
||||||
|
|
||||||
# homeassistant.components.knx
|
# homeassistant.components.knx
|
||||||
xknx==0.19.0
|
xknx==0.19.1
|
||||||
|
|
||||||
# homeassistant.components.bluesound
|
# homeassistant.components.bluesound
|
||||||
# homeassistant.components.fritz
|
# homeassistant.components.fritz
|
||||||
|
@ -1527,7 +1527,7 @@ wolf_smartset==0.1.11
|
|||||||
xbox-webapi==2.0.11
|
xbox-webapi==2.0.11
|
||||||
|
|
||||||
# homeassistant.components.knx
|
# homeassistant.components.knx
|
||||||
xknx==0.19.0
|
xknx==0.19.1
|
||||||
|
|
||||||
# homeassistant.components.bluesound
|
# homeassistant.components.bluesound
|
||||||
# homeassistant.components.fritz
|
# homeassistant.components.fritz
|
||||||
|
@ -13,7 +13,7 @@ from xknx.telegram import Telegram, TelegramDirection
|
|||||||
from xknx.telegram.address import GroupAddress, IndividualAddress
|
from xknx.telegram.address import GroupAddress, IndividualAddress
|
||||||
from xknx.telegram.apci import APCI, GroupValueRead, GroupValueResponse, GroupValueWrite
|
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 (
|
from homeassistant.components.knx.const import (
|
||||||
CONF_KNX_AUTOMATIC,
|
CONF_KNX_AUTOMATIC,
|
||||||
CONF_KNX_CONNECTION_TYPE,
|
CONF_KNX_CONNECTION_TYPE,
|
||||||
@ -40,11 +40,6 @@ class KNXTestKit:
|
|||||||
# telegrams to an InternalGroupAddress won't be queued here
|
# telegrams to an InternalGroupAddress won't be queued here
|
||||||
self._outgoing_telegrams: asyncio.Queue = asyncio.Queue()
|
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:
|
def assert_state(self, entity_id: str, state: str, **attributes) -> None:
|
||||||
"""Assert the state of an entity."""
|
"""Assert the state of an entity."""
|
||||||
test_state = self.hass.states.get(entity_id)
|
test_state = self.hass.states.get(entity_id)
|
||||||
|
@ -39,11 +39,11 @@ def _gateway_descriptor(
|
|||||||
) -> GatewayDescriptor:
|
) -> GatewayDescriptor:
|
||||||
"""Get mock gw descriptor."""
|
"""Get mock gw descriptor."""
|
||||||
return GatewayDescriptor(
|
return GatewayDescriptor(
|
||||||
"Test",
|
name="Test",
|
||||||
ip,
|
ip_addr=ip,
|
||||||
port,
|
port=port,
|
||||||
"eth0",
|
local_interface="eth0",
|
||||||
"127.0.0.1",
|
local_ip="127.0.0.1",
|
||||||
supports_routing=True,
|
supports_routing=True,
|
||||||
supports_tunnelling=True,
|
supports_tunnelling=True,
|
||||||
supports_tunnelling_tcp=supports_tunnelling_tcp,
|
supports_tunnelling_tcp=supports_tunnelling_tcp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user