@@ -224,9 +224,9 @@ class DefaultColorControlSceneHandler : public scenes::DefaultSceneHandlerImpl
224
224
225
225
// Initialize action attributes to default values in case they are not in the scene
226
226
ColorControl::EnhancedColorMode targetColorMode = ColorControl::EnhancedColorMode::kCurrentHueAndCurrentSaturation ;
227
- uint8_t loopActiveValue = 0x00 ;
228
- uint8_t loopDirectionValue = 0x00 ;
229
- uint16_t loopTimeValue = 0x0019 ; // Default loop time value according to spec
227
+ uint8_t loopActiveValue = 0x00 ;
228
+ uint8_t loopDirectionValue = 0x00 ;
229
+ uint16_t loopTimeValue = 0x0019 ; // Default loop time value according to spec
230
230
231
231
while (pair_iterator.Next ())
232
232
{
@@ -282,7 +282,7 @@ class DefaultColorControlSceneHandler : public scenes::DefaultSceneHandlerImpl
282
282
if (decodePair.attributeValue <=
283
283
static_cast <uint8_t >(ColorControl::EnhancedColorMode::kEnhancedCurrentHueAndCurrentSaturation ))
284
284
{
285
- targetColorMode =static_cast <ColorControl::EnhancedColorMode>(decodePair.attributeValue );
285
+ targetColorMode = static_cast <ColorControl::EnhancedColorMode>(decodePair.attributeValue );
286
286
}
287
287
break ;
288
288
default :
@@ -559,7 +559,7 @@ bool ColorControlServer::shouldExecuteIfOff(EndpointId endpoint, uint8_t optionM
559
559
* @param endpoint
560
560
* @param newColorMode
561
561
*/
562
- void ColorControlServer::handleModeSwitch (EndpointId endpoint, ColorControl::EnhancedColorMode newColorMode)
562
+ void ColorControlServer::handleModeSwitch (EndpointId endpoint, ColorControl::EnhancedColorMode newColorMode)
563
563
{
564
564
uint8_t oldColorMode = 0 ;
565
565
Attributes::ColorMode::Get (endpoint, &oldColorMode);
0 commit comments