mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02: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:
@@ -97,3 +97,4 @@ class DemoLock(LockEntity):
|
||||
"""Flag supported features."""
|
||||
if self._openable:
|
||||
return SUPPORT_OPEN
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user