Add 'Assumed State' property to Somfy MyLink covers (#22922)

* Explicitly return none for is_closed property

* Set the assumed_state property to true

* Added period to docstring
This commit is contained in:
Ben Dews 2019-04-09 19:58:09 +10:00 committed by Charles Garwood
parent 88694c978b
commit f81ce0b720
1 changed files with 6 additions and 1 deletions

View File

@ -59,7 +59,12 @@ class SomfyShade(CoverDevice):
@property
def is_closed(self):
"""Return if the cover is closed."""
pass
return None
@property
def assumed_state(self):
"""Let HA know the integration is assumed state."""
return True
@property
def device_class(self):