From 5d56ce67f5a9b07c77bce0d1930072a6d4727863 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 8 Aug 2021 22:33:40 -0500 Subject: [PATCH] Fix inconsistent supported_features return in demo lock (#54300) https://github.com/home-assistant/core/pull/51455#discussion_r684806197 --- homeassistant/components/demo/lock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/demo/lock.py b/homeassistant/components/demo/lock.py index 7eabf9bea2d..af61c0f6111 100644 --- a/homeassistant/components/demo/lock.py +++ b/homeassistant/components/demo/lock.py @@ -97,3 +97,4 @@ class DemoLock(LockEntity): """Flag supported features.""" if self._openable: return SUPPORT_OPEN + return 0