Merge remote-tracking branch 'upstream/master'

This commit is contained in:
LordGrey
2019-07-18 22:10:05 +02:00
2 changed files with 6 additions and 5 deletions

View File

@@ -446,10 +446,10 @@ int LedDevicePhilipsHue::write(const std::vector<ColorRgb> & ledValues)
else
{
light.setOn(true);
// Write color if color has been changed.
light.setTransitionTime(transitionTime);
light.setColor(xy, brightnessFactor);
}
// Write color if color has been changed.
light.setTransitionTime(transitionTime);
light.setColor(xy, brightnessFactor);
idx++;
}