mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 15:12:19 +03:00
Telegram V2 & espCAM
This commit is contained in:
@@ -84,7 +84,7 @@ class LogingDaily : public IoTItem {
|
||||
if (telegram == 1) {
|
||||
String msg = descr + ": total " + String(currentValue) + ", consumed " + String(difference);
|
||||
for (std::list<IoTItem *>::iterator it = IoTItems.begin(); it != IoTItems.end(); ++it) {
|
||||
if ((*it)->getSubtype() == "TelegramLT" || "Telegram") {
|
||||
if ((*it)->getSubtype() == "TelegramLT" || "Telegram" || "Telegram_v2") {
|
||||
(*it)->sendTelegramMsg(false, msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user