Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 665d6f8

Browse filesBrowse files
authored
fix(zigbee): Use correct attributeID in setAnalogInputReporting (#11065)
1 parent bf5265c commit 665d6f8
Copy full SHA for 665d6f8

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎libraries/Zigbee/src/ep/ZigbeeAnalog.cpp

Copy file name to clipboardExpand all lines: libraries/Zigbee/src/ep/ZigbeeAnalog.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void ZigbeeAnalog::setAnalogInputReporting(uint16_t min_interval, uint16_t max_i
107107
reporting_info.ep = _endpoint;
108108
reporting_info.cluster_id = ESP_ZB_ZCL_CLUSTER_ID_ANALOG_INPUT;
109109
reporting_info.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
110-
reporting_info.attr_id = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID;
110+
reporting_info.attr_id = ESP_ZB_ZCL_ATTR_ANALOG_INPUT_PRESENT_VALUE_ID;
111111
reporting_info.u.send_info.min_interval = min_interval;
112112
reporting_info.u.send_info.max_interval = max_interval;
113113
reporting_info.u.send_info.def_min_interval = min_interval;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.