* Rationalisation of logs and removal of duplicate codes
This commit is contained in:
1 parent
10f0d4cff4
commit
bdda5df839
5 files changed
+132
-116
No files matched your search
@@ -102,7 +102,6 @@ void pubOneWire_HADiscovery() {
|
||||
# ifdef ZmqttDiscovery
|
||||
// If zmqtt discovery is enabled, create a sensor topic for each DS18b20 sensor found on the bus, using addr as uniqueID
|
||||
if (disc) {
|
||||
Log.notice(F("CreateDiscoverySensor - Found %d" CR), ds1820_count);
|
||||
for (int index = 0; index < ds1820_count; index++) {
|
||||
createDiscovery("sensor",
|
||||
(char*)(String(OW_TOPIC) + "/" + ds1820_addr[index]).c_str(),
|
||||
|
||||
Reference in new issue
Block a user