From 8e7a9521dccf4c11a5680b48cb4b32d6019a7eaf Mon Sep 17 00:00:00 2001 From: Santobert Date: Tue, 19 Nov 2019 23:16:59 +0100 Subject: [PATCH] Fix setting colors while reproducing a lights state (#28871) * Fix setting colors while reproducing state * Reorder list --- homeassistant/components/light/reproduce_state.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/light/reproduce_state.py b/homeassistant/components/light/reproduce_state.py index c84b3627bed..90d14c2a19f 100644 --- a/homeassistant/components/light/reproduce_state.py +++ b/homeassistant/components/light/reproduce_state.py @@ -45,13 +45,14 @@ ATTR_GROUP = [ ] COLOR_GROUP = [ - ATTR_COLOR_NAME, - ATTR_COLOR_TEMP, ATTR_HS_COLOR, - ATTR_KELVIN, - ATTR_PROFILE, + ATTR_COLOR_TEMP, ATTR_RGB_COLOR, ATTR_XY_COLOR, + # The following color attributes are deprecated + ATTR_PROFILE, + ATTR_COLOR_NAME, + ATTR_KELVIN, ] DEPRECATED_GROUP = [