mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
added coroutine annotation to async method
This commit is contained in:
parent
4c06cca3e1
commit
88782fa90a
@ -272,6 +272,7 @@ class MqttCover(CoverDevice):
|
|||||||
"""Return current position of cover tilt."""
|
"""Return current position of cover tilt."""
|
||||||
return self._tilt_value
|
return self._tilt_value
|
||||||
|
|
||||||
|
@asyncio.coroutine
|
||||||
def async_set_cover_tilt_position(self, **kwargs):
|
def async_set_cover_tilt_position(self, **kwargs):
|
||||||
"""Move the cover tilt to a specific position."""
|
"""Move the cover tilt to a specific position."""
|
||||||
if ATTR_TILT_POSITION in kwargs:
|
if ATTR_TILT_POSITION in kwargs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user