mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix typo within cover/knx https://github.com/XKNX/xknx/issues/64 (#9527)
This commit is contained in:
committed by
Pascal Vizeli
parent
7cd7b43d25
commit
5fd9220812
@@ -181,7 +181,7 @@ class KNXCover(CoverDevice):
|
||||
"""Return current tilt position of cover."""
|
||||
if not self.device.supports_angle:
|
||||
return None
|
||||
return self.device.get_angle()
|
||||
return self.device.current_angle()
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_set_cover_tilt_position(self, **kwargs):
|
||||
|
Reference in New Issue
Block a user