Skip to content

Commit

Permalink
[RN8209] Add measurement class (#1507)
Browse files Browse the repository at this point in the history
To enable statistics
  • Loading branch information
1technophile authored Mar 6, 2023
1 parent d9bac3b commit df228a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZmqttDiscovery.ino
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ void pubMqttDiscovery() {
RN8209sensor[i][5], RN8209sensor[i][6], RN8209sensor[i][7], //set,payload_on,payload_off,unit_of_meas
0, Gateway_AnnouncementMsg, will_Message, true, "", //set off_delay,payload_available,payload_not available ,is a gateway entity, command topic
"", "", "", "", false, // device name, device manufacturer, device model, device ID, retain
stateClassNone //State Class
stateClassMeasurement //State Class
);
}
# endif
Expand Down

0 comments on commit df228a4

Please sign in to comment.