Update xknx to version 0.17.5 (#48522)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Marvin Wichmann 2021-03-31 17:04:22 +02:00 committed by GitHub
parent 7dfe63e06f
commit 9e1a17c62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View File

@ -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
@ -32,6 +34,11 @@ class KnxEntity(Entity):
"""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()

View File

@ -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"
}

View File

@ -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

View File

@ -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