From f9e38cd08b506d39ec31e0affd0e2fbdbf092a1b Mon Sep 17 00:00:00 2001 From: Thijs Walcarius Date: Sun, 19 Dec 2021 20:14:56 +0100 Subject: [PATCH] Fix missing brightness for Velbus entities (#62314) * Fix #62169: missing brightness for Velbus-entities * Use default implementation of supported_features Co-authored-by: Thijs Walcarius --- homeassistant/components/velbus/light.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/velbus/light.py b/homeassistant/components/velbus/light.py index bd903c76790..f1a90651716 100644 --- a/homeassistant/components/velbus/light.py +++ b/homeassistant/components/velbus/light.py @@ -49,7 +49,7 @@ class VelbusLight(VelbusEntity, LightEntity): """Representation of a Velbus light.""" _channel: VelbusDimmer - _attr_supported_feature = SUPPORT_BRIGHTNESS | SUPPORT_TRANSITION + _attr_supported_features = SUPPORT_BRIGHTNESS | SUPPORT_TRANSITION @property def is_on(self) -> bool: @@ -96,7 +96,7 @@ class VelbusButtonLight(VelbusEntity, LightEntity): _channel: VelbusButton _attr_entity_registry_enabled_default = False - _attr_supported_feature = SUPPORT_FLASH + _attr_supported_features = SUPPORT_FLASH def __init__(self, channel: VelbusChannel) -> None: """Initialize the button light (led)."""