Skip to content

Commit c049218

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

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
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

libraries/Zigbee/src/ep/ZigbeeTempSensor.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ void ZigbeeTempSensor::reportHumidity() {
120120
esp_zb_zcl_report_attr_cmd_t report_attr_cmd;
121121
report_attr_cmd.address_mode = ESP_ZB_APS_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT;
122122
report_attr_cmd.attributeID = ESP_ZB_ZCL_ATTR_REL_HUMIDITY_MEASUREMENT_VALUE_ID;
123-
report_attr_cmd.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
124123
report_attr_cmd.clusterID = ESP_ZB_ZCL_CLUSTER_ID_REL_HUMIDITY_MEASUREMENT;
125124
report_attr_cmd.zcl_basic_cmd.src_endpoint = _endpoint;
126125

0 commit comments

Comments
 (0)