more updates

This commit is contained in:
Paul
2020-05-28 23:17:25 +02:00
parent f807eac26a
commit b4aca3bcb9
15 changed files with 139 additions and 89 deletions

View File

@@ -421,7 +421,7 @@ bool EMSESP::process_telegram(std::shared_ptr<const Telegram> telegram) {
for (const auto & emsdevice : emsdevices) {
if (emsdevice) {
if (emsdevice->is_device_id(telegram->src)) {
found = emsdevice->process_telegram(telegram);
found = emsdevice->handle_telegram(telegram);
// check to see if we need to force an MQTT publish
if (found) {
if (emsdevice->updated_values()) {