Wrong check that enable music mode evry time.
This commit is contained in:
@@ -166,7 +166,7 @@ class LocaltuyaLight(LocalTuyaEntity, LightEntity):
|
|||||||
else:
|
else:
|
||||||
self._scenes = SCENE_LIST_RGBW_1000
|
self._scenes = SCENE_LIST_RGBW_1000
|
||||||
self._effect_list = list(self._scenes.keys())
|
self._effect_list = list(self._scenes.keys())
|
||||||
if self.has_config(CONF_MUSIC_MODE):
|
if self._config.get(CONF_MUSIC_MODE):
|
||||||
self._effect_list.append(SCENE_MUSIC)
|
self._effect_list.append(SCENE_MUSIC)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Reference in New Issue
Block a user