mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix shelly duo scene restore (#67871)
This commit is contained in:
parent
7323ad2799
commit
98256746d3
@ -336,7 +336,7 @@ class BlockShellyLight(ShellyBlockEntity, LightEntity):
|
|||||||
ATTR_RGBW_COLOR
|
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
|
# Color effect change - used only in color mode, switch device mode to color
|
||||||
set_mode = "color"
|
set_mode = "color"
|
||||||
if self.wrapper.model == "SHBLB-1":
|
if self.wrapper.model == "SHBLB-1":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user