Skip to content

Commit

Permalink
Fix setting colors while reproducing a lights state (home-assistant#2…
Browse files Browse the repository at this point in the history
…8871)

* Fix setting colors while reproducing state

* Reorder list
  • Loading branch information
Santobert authored and balloob committed Nov 19, 2019
1 parent b92b6c4 commit 8e7a952
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions homeassistant/components/light/reproduce_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@
]

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 = [
Expand Down

0 comments on commit 8e7a952

Please sign in to comment.