mirror of
https://github.com/home-assistant/core.git
synced 2026-09-12 11:38:47 +01:00
Update xknx to 3.15.0 (#163111)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"loggers": ["xknx", "xknxproject"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": [
|
||||
"xknx==3.14.0",
|
||||
"xknx==3.15.0",
|
||||
"xknxproject==3.8.2",
|
||||
"knx-frontend==2026.2.13.222258"
|
||||
],
|
||||
|
||||
@@ -45,6 +45,7 @@ class TelegramDict(DecodedTelegramPayload):
|
||||
"""Represent a Telegram as a dict."""
|
||||
|
||||
# this has to be in sync with the frontend implementation
|
||||
data_secure: bool | None
|
||||
destination: str
|
||||
destination_name: str
|
||||
direction: str
|
||||
@@ -153,6 +154,7 @@ class Telegrams:
|
||||
value = _serializable_decoded_data(telegram.decoded_data.value)
|
||||
|
||||
return TelegramDict(
|
||||
data_secure=telegram.data_secure,
|
||||
destination=f"{telegram.destination_address}",
|
||||
destination_name=dst_name,
|
||||
direction=telegram.direction.value,
|
||||
|
||||
Generated
+1
-1
@@ -3258,7 +3258,7 @@ wyoming==1.7.2
|
||||
xiaomi-ble==1.6.0
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknx==3.14.0
|
||||
xknx==3.15.0
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknxproject==3.8.2
|
||||
|
||||
Generated
+1
-1
@@ -2737,7 +2737,7 @@ wyoming==1.7.2
|
||||
xiaomi-ble==1.6.0
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknx==3.14.0
|
||||
xknx==3.15.0
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknxproject==3.8.2
|
||||
|
||||
@@ -18,6 +18,7 @@ from .conftest import KNXTestKit
|
||||
MOCK_TIMESTAMP = "2023-07-02T14:51:24.045162-07:00"
|
||||
MOCK_TELEGRAMS = [
|
||||
{
|
||||
"data_secure": None, # None since CEMIHandler is mocked away and doesn't set it to False
|
||||
"destination": "1/3/4",
|
||||
"destination_name": "",
|
||||
"direction": "Incoming",
|
||||
@@ -33,6 +34,7 @@ MOCK_TELEGRAMS = [
|
||||
"value": None,
|
||||
},
|
||||
{
|
||||
"data_secure": None,
|
||||
"destination": "2/2/2",
|
||||
"destination_name": "",
|
||||
"direction": "Outgoing",
|
||||
|
||||
@@ -111,9 +111,9 @@ async def test_time_server_load_from_config_store(
|
||||
{}, config_store_fixture="config_store_time_server.json"
|
||||
)
|
||||
# Verify all three formats are written on startup
|
||||
await knx.assert_write("1/1/1", RAW_TIME)
|
||||
await knx.assert_write("2/2/2", RAW_DATE)
|
||||
await knx.assert_write("3/3/3", RAW_DATETIME)
|
||||
await knx.assert_write("1/1/1", RAW_TIME, ignore_order=True)
|
||||
await knx.assert_write("2/2/2", RAW_DATE, ignore_order=True)
|
||||
await knx.assert_write("3/3/3", RAW_DATETIME, ignore_order=True)
|
||||
|
||||
client = await hass_ws_client(hass)
|
||||
# Verify configuration was loaded
|
||||
|
||||
Reference in New Issue
Block a user