Skip to content

Commit

Permalink
Update RN8209 sensors names (#1342)
Browse files Browse the repository at this point in the history
to NRG to be more generic

Co-authored-by: Florian <[email protected]>
  • Loading branch information
1technophile and 1technophile authored Dec 1, 2022
1 parent 20946f4 commit 4bbdead
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 @@ -769,7 +769,7 @@ void pubMqttDiscovery() {
};

for (int i = 0; i < RN8209parametersCount; i++) {
String name = String(RN8209sensor[i][2]) + "PWR: " + String(RN8209sensor[i][1]);
String name = "NRG: " + String(RN8209sensor[i][1]);
createDiscovery(RN8209sensor[i][0],
subjectRN8209toMQTT, (char*)name.c_str(), (char*)getUniqueId(RN8209sensor[i][1], RN8209sensor[i][2]).c_str(),
will_Topic, RN8209sensor[i][3], RN8209sensor[i][4],
Expand Down

0 comments on commit 4bbdead

Please sign in to comment.