From 1e4690626ff7e0e978805d9fa7b4dc7270811711 Mon Sep 17 00:00:00 2001 From: rappenze Date: Wed, 25 May 2022 09:07:55 +0200 Subject: [PATCH] Better detection for brightness support in fibaro light (#71615) --- homeassistant/components/fibaro/light.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/fibaro/light.py b/homeassistant/components/fibaro/light.py index 0115e0301c3..300b7c4c5f8 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -86,7 +86,10 @@ class FibaroLight(FibaroDevice, LightEntity): or "RGBW" in fibaro_device.type or "rgbw" in fibaro_device.type ) - supports_dimming = "levelChange" in fibaro_device.interfaces + supports_dimming = ( + "levelChange" in fibaro_device.interfaces + and "setValue" in fibaro_device.actions + ) if supports_color and supports_white_v: self._attr_supported_color_modes = {ColorMode.RGBW}