From 98256746d3966e63fd1c4cd5a2f0a407437ab8ee Mon Sep 17 00:00:00 2001 From: Shay Levy <levyshay1@gmail.com> Date: Tue, 8 Mar 2022 19:56:57 +0200 Subject: [PATCH] Fix shelly duo scene restore (#67871) --- homeassistant/components/shelly/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/shelly/light.py b/homeassistant/components/shelly/light.py index b0fb9cd1a8a..13a7720e7ed 100644 --- a/homeassistant/components/shelly/light.py +++ b/homeassistant/components/shelly/light.py @@ -336,7 +336,7 @@ class BlockShellyLight(ShellyBlockEntity, LightEntity): ATTR_RGBW_COLOR ] - if ATTR_EFFECT in kwargs: + if ATTR_EFFECT in kwargs and ATTR_COLOR_TEMP not in kwargs: # Color effect change - used only in color mode, switch device mode to color set_mode = "color" if self.wrapper.model == "SHBLB-1": -- GitLab