Skip to content

Commit 610d88c

Browse files
committed
fix(zigbee): Fix removed cluster_role attribute
1 parent fd8919f commit 610d88c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/Zigbee/src/ZigbeeEP.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ void ZigbeeEP::reportBatteryPercentage() {
104104
esp_zb_zcl_report_attr_cmd_t report_attr_cmd;
105105
report_attr_cmd.address_mode = ESP_ZB_APS_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT;
106106
report_attr_cmd.attributeID = ESP_ZB_ZCL_ATTR_POWER_CONFIG_BATTERY_PERCENTAGE_REMAINING_ID;
107-
report_attr_cmd.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
108107
report_attr_cmd.clusterID = ESP_ZB_ZCL_CLUSTER_ID_POWER_CONFIG;
109108
report_attr_cmd.zcl_basic_cmd.src_endpoint = _endpoint;
110109

0 commit comments

Comments
 (0)