Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit 665d6f8

Browse files
fix(zigbee): Use correct attributeID in setAnalogInputReporting (#11065)
1 parent bf5265c commit 665d6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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)

AltStyle によって変換されたページ (->オリジナル) /