Skip to content

Commit 74c1854

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 44e3a47 commit 74c1854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/Zigbee/src/ep/ZigbeeColorDimmableLight.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ void ZigbeeColorDimmableLight::zbAttributeSet(const esp_zb_zcl_set_attr_value_me
7373
uint16_t light_color_x = (*(uint16_t *)message->attribute.data.value);
7474
uint16_t light_color_y = getCurrentColorY();
7575
//calculate RGB from XY and call setColor()
76-
_current_color = espXYToRgbColor(255, light_color_x, light_color_y); //TODO: Check if level is correct
76+
_current_color = espXYToRgbColor(255, light_color_x, light_color_y); //TODO: Check if level is correct
7777
lightChanged();
7878
return;
7979

8080
} else if (message->attribute.id == ESP_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_Y_ID && message->attribute.data.type == ESP_ZB_ZCL_ATTR_TYPE_U16) {
8181
uint16_t light_color_x = getCurrentColorX();
8282
uint16_t light_color_y = (*(uint16_t *)message->attribute.data.value);
8383
//calculate RGB from XY and call setColor()
84-
_current_color = espXYToRgbColor(255, light_color_x, light_color_y); //TODO: Check if level is correct
84+
_current_color = espXYToRgbColor(255, light_color_x, light_color_y); //TODO: Check if level is correct
8585
lightChanged();
8686
return;
8787
} else if (message->attribute.id == ESP_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_HUE_ID && message->attribute.data.type == ESP_ZB_ZCL_ATTR_TYPE_U16) {

0 commit comments

Comments
 (0)