From d7b8b1318756d1ed763c5ee315f7956e5612df3b Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Sun, 22 Sep 2024 20:28:04 +0200 Subject: [PATCH] Fix typo in home-assistant discovery metadata Fixes a copy and paste error in commit b3ee38b03ee3a8e2ed5d0b7accd104aa7c8b3a52 which I made when I renamed maxAlloc/minFree. --- src/MqttHandleHass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MqttHandleHass.cpp b/src/MqttHandleHass.cpp index 258a3cdce..4ed5eb77d 100644 --- a/src/MqttHandleHass.cpp +++ b/src/MqttHandleHass.cpp @@ -64,8 +64,8 @@ void MqttHandleHassClass::publishConfig() publishDtuSensor("Temperature", "temperature", "diagnostic", "mdi:thermometer", "°C", "temperature"); publishDtuSensor("Heap Size", "", "diagnostic", "mdi:memory", "Bytes", "heap/size"); publishDtuSensor("Heap Free", "", "diagnostic", "mdi:memory", "Bytes", "heap/free"); - publishDtuSensor("Largest Free Heap Block", "", "diagnostic", "mdi:memory", "Bytes", "heap/maxalloc`"); - publishDtuSensor("Lifetime Minimum Free Heap", "", "diagnostic", "mdi:memory", "Bytes", "heap/minfree`"); + publishDtuSensor("Largest Free Heap Block", "", "diagnostic", "mdi:memory", "Bytes", "heap/maxalloc"); + publishDtuSensor("Lifetime Minimum Free Heap", "", "diagnostic", "mdi:memory", "Bytes", "heap/minfree"); publishDtuBinarySensor("Status", "connectivity", "diagnostic", config.Mqtt.Lwt.Value_Online, config.Mqtt.Lwt.Value_Offline, config.Mqtt.Lwt.Topic); yield();