mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
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:
parent
88694c978b
commit
f81ce0b720
@ -59,7 +59,12 @@ class SomfyShade(CoverDevice):
|
|||||||
@property
|
@property
|
||||||
def is_closed(self):
|
def is_closed(self):
|
||||||
"""Return if the cover is closed."""
|
"""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
|
@property
|
||||||
def device_class(self):
|
def device_class(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user