Fix shelly duo scene restore (#67871)

This commit is contained in:
Shay Levy
2022-03-08 19:56:57 +02:00
committed by Paulus Schoutsen
parent cad397d6a7
commit 07e70c81b0

View File

@@ -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":