mirror of
https://github.com/home-assistant/core.git
synced 2025-06-06 14:17:06 +00:00
missing is_closed ( rflink cover fix ) (#9776)
* Added is_closed * whitespaces -- * removed whitespace
This commit is contained in:
parent
d0ec9301ab
commit
cb52b80f7d
@ -103,6 +103,11 @@ class RflinkCover(RflinkCommand, CoverDevice):
|
|||||||
"""No polling available in RFlink cover."""
|
"""No polling available in RFlink cover."""
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_closed(self):
|
||||||
|
"""Return if the cover is closed."""
|
||||||
|
return None
|
||||||
|
|
||||||
def async_close_cover(self, **kwargs):
|
def async_close_cover(self, **kwargs):
|
||||||
"""Turn the device close."""
|
"""Turn the device close."""
|
||||||
return self._async_handle_command("close_cover")
|
return self._async_handle_command("close_cover")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user