missing is_closed ( rflink cover fix ) (#9776)

* Added is_closed

* whitespaces --

* removed whitespace
This commit is contained in:
pascal 2017-10-09 16:57:44 +02:00 committed by Pascal Vizeli
parent d0ec9301ab
commit cb52b80f7d

View file

@ -103,6 +103,11 @@ class RflinkCover(RflinkCommand, CoverDevice):
"""No polling available in RFlink cover."""
return False
@property
def is_closed(self):
"""Return if the cover is closed."""
return None
def async_close_cover(self, **kwargs):
"""Turn the device close."""
return self._async_handle_command("close_cover")