mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix inconsistent supported_features return in demo lock (#54300)
https://github.com/home-assistant/core/pull/51455#discussion_r684806197
This commit is contained in:
parent
160bd74bae
commit
5d56ce67f5
@ -97,3 +97,4 @@ class DemoLock(LockEntity):
|
||||
"""Flag supported features."""
|
||||
if self._openable:
|
||||
return SUPPORT_OPEN
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user