[RN8209] Add measurement class (#1507)

To enable statistics
This commit is contained in:
Florian authored and GitHub committed 2023-03-06 14:18:42 -06:00
1 parent d9bac3be44
commit df228a4aa4
1 file changed
+1 -1
+1 -1
View File
@@ -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