chore: fix cpplint

This commit is contained in:
Yurii
2026-05-17 04:38:53 +03:00
parent 14d2262d2f
commit af2d4624b3
27 changed files with 209 additions and 431 deletions
@@ -49,7 +49,7 @@ public:
if (this->publishEventCallback) {
this->publishEventCallback(topic, false);
}
return false;
}
@@ -114,7 +114,7 @@ public:
return topic;
}
template <class T>
template <class T>
String getDeviceTopic(T value, char dpvSeparator = '/') {
String topic = "";
topic.concat(this->devicePrefix);
@@ -147,7 +147,7 @@ public:
return topic;
}
template <class DT, class VT>
template <class DT, class VT>
String getEntityIdWithPrefix(DT domain, VT value, char separator = '_') {
String topic = "";
topic.concat(domain);
@@ -158,7 +158,7 @@ public:
return topic;
}
template <class T>
template <class T>
String getUniqueIdWithPrefix(T value, char separator = '_') {
String topic = "";
topic.concat(this->devicePrefix);
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#ifndef PROGMEM
#define PROGMEM
#define PROGMEM // NOLINT
#endif
const char HA_ENTITY_BINARY_SENSOR[] PROGMEM = "binary_sensor";