From 4cf251f6130bdb124ff5759686ef3ef4cb1f389f Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 15 Nov 2024 16:47:37 +0100 Subject: [PATCH] formatting --- src/mqtt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mqtt.cpp b/src/mqtt.cpp index e2c588fac..05d6ca612 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -593,6 +593,7 @@ void Mqtt::ha_status() { publish_system_ha_sensor_config(DeviceValueType::INT8, "Tx reads", "txreads", DeviceValueUOM::NONE); publish_system_ha_sensor_config(DeviceValueType::INT8, "Tx writes", "txwrites", DeviceValueUOM::NONE); publish_system_ha_sensor_config(DeviceValueType::INT8, "Tx fails", "txfails", DeviceValueUOM::NONE); + publish_system_ha_sensor_config(DeviceValueType::INT16, "WiFi reconnects", "wificonnects", DeviceValueUOM::NONE); // This comes from the info MQTT topic publish_system_ha_sensor_config(DeviceValueType::STRING, "Version", "version", DeviceValueUOM::NONE);