added coroutine annotation to async method

This commit is contained in:
Brian Cribbs 2017-04-28 16:32:06 -04:00
parent 4c06cca3e1
commit 88782fa90a

View file

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