From 4bbdeadb5379c2ea0d58d61f3ff6477a5e6707cd Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 1 Dec 2022 11:13:41 -0600 Subject: [PATCH] Update RN8209 sensors names (#1342) to NRG to be more generic Co-authored-by: Florian <1technophile@users.noreply.github.com> --- main/ZmqttDiscovery.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ZmqttDiscovery.ino b/main/ZmqttDiscovery.ino index 7eb8329721..08edb39b89 100644 --- a/main/ZmqttDiscovery.ino +++ b/main/ZmqttDiscovery.ino @@ -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],