Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions homeassistant/components/knx/knx_entity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"""Base class for KNX devices."""
from __future__ import annotations

from typing import cast

from xknx.devices import Climate as XknxClimate, Device as XknxDevice
Expand Down Expand Up @@ -32,6 +34,11 @@ def should_poll(self) -> bool:
"""No polling needed within KNX."""
return False

@property
def unique_id(self) -> str | None:
"""Return the unique id of the device."""
return self._device.unique_id

async def async_update(self) -> None:
"""Request a state update from KNX bus."""
await self._device.sync()
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/knx/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "knx",
"name": "KNX",
"documentation": "https://www.home-assistant.io/integrations/knx",
"requirements": ["xknx==0.17.4"],
"requirements": ["xknx==0.17.5"],
"codeowners": ["@Julius2342", "@farmio", "@marvin-w"],
"quality_scale": "silver"
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,7 @@ xbox-webapi==2.0.8
xboxapi==2.0.1

# homeassistant.components.knx
xknx==0.17.4
xknx==0.17.5

# homeassistant.components.bluesound
# homeassistant.components.rest
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ wolf_smartset==0.1.8
xbox-webapi==2.0.8

# homeassistant.components.knx
xknx==0.17.4
xknx==0.17.5

# homeassistant.components.bluesound
# homeassistant.components.rest
Expand Down