diff --git a/code/espurna/utils.ino b/code/espurna/utils.ino index fb8017a1..b5eedd54 100644 --- a/code/espurna/utils.ino +++ b/code/espurna/utils.ino @@ -247,7 +247,7 @@ void heartbeat() { #if MQTT_SUPPORT if (!serial && (_heartbeat_mode == HEARTBEAT_REPEAT || systemGetHeartbeat())) { if (hb_cfg & Heartbeat::Interval) - mqttSend(MQTT_TOPIC_INTERVAL, String(getHeartbeatInterval() / 1000).c_str()); + mqttSend(MQTT_TOPIC_INTERVAL, String(getHeartbeatInterval()).c_str()); if (hb_cfg & Heartbeat::App) mqttSend(MQTT_TOPIC_APP, APP_NAME);