added coroutine annotation to async method
This commit is contained in:
parent
4c06cca3e1
commit
88782fa90a
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ class MqttCover(CoverDevice):
|
|||
"""Return current position of cover tilt."""
|
||||
return self._tilt_value
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_set_cover_tilt_position(self, **kwargs):
|
||||
"""Move the cover tilt to a specific position."""
|
||||
if ATTR_TILT_POSITION in kwargs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue