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