refactor: dynamic sensors

This commit is contained in:
Yurii committed 2024-11-09 17:10:26 +03:00
1 parent c3d0d94806
commit e71f3868fd
27 files changed
+4666 -3388

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ public:
#endif
}
bool publish(const char* topic, JsonDocument& doc, bool retained = false) {
bool publish(const char* topic, const JsonVariantConst doc, bool retained = false) {
if (!this->client->connected()) {
this->bufferPos = 0;
return false;