We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf5265c commit 665d6f8Copy full SHA for 665d6f8
libraries/Zigbee/src/ep/ZigbeeAnalog.cpp
@@ -107,7 +107,7 @@ void ZigbeeAnalog::setAnalogInputReporting(uint16_t min_interval, uint16_t max_i
107
reporting_info.ep = _endpoint;
108
reporting_info.cluster_id = ESP_ZB_ZCL_CLUSTER_ID_ANALOG_INPUT;
109
reporting_info.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
110
- reporting_info.attr_id = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID;
+ reporting_info.attr_id = ESP_ZB_ZCL_ATTR_ANALOG_INPUT_PRESENT_VALUE_ID;
111
reporting_info.u.send_info.min_interval = min_interval;
112
reporting_info.u.send_info.max_interval = max_interval;
113
reporting_info.u.send_info.def_min_interval = min_interval;
0 commit comments