Skip to content

Commit

Permalink
[ColorControl] Set EnhancedColorMode to 3 during enhanced-move-to-hue…
Browse files Browse the repository at this point in the history
…-and-saturation
  • Loading branch information
pankore committed Sep 13, 2022
1 parent 5caec5a commit cc99b49
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,9 @@ bool ColorControlServer::moveToHueAndSaturationCommand(EndpointId endpoint, uint
{
colorHueTransitionState->initialEnhancedHue = currentHue;
colorHueTransitionState->currentEnhancedHue = currentHue;
Attributes::ColorMode::Set(endpoint, CurrentHueandCurrentSaturation);
Attributes::EnhancedColorMode::Set(endpoint, EnhancedCurrentHueandCurrentSaturation);

colorHueTransitionState->finalEnhancedHue = hue;
}
else
Expand Down

0 comments on commit cc99b49

Please sign in to comment.