Skip to content

Commit 4677ea6

Browse files
Fix to issue #11044 (#11064)
Fix to a copy-paste error that causes a Guru Meditation crash with Zigbee Analog Example.
1 parent efb02d3 commit 4677ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Zigbee/src/ep/ZigbeeAnalog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void ZigbeeAnalog::setAnalogInputReporting(uint16_t min_interval, uint16_t max_i
105105
memset(&reporting_info, 0, sizeof(esp_zb_zcl_reporting_info_t));
106106
reporting_info.direction = ESP_ZB_ZCL_CMD_DIRECTION_TO_SRV;
107107
reporting_info.ep = _endpoint;
108-
reporting_info.cluster_id = ESP_ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT;
108+
reporting_info.cluster_id = ESP_ZB_ZCL_CLUSTER_ID_ANALOG_INPUT;
109109
reporting_info.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
110110
reporting_info.attr_id = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID;
111111
reporting_info.u.send_info.min_interval = min_interval;

0 commit comments

Comments
 (0)