From e6ef1bb8b93aa2721b1337b92d08b75e0ad0719e Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Fri, 7 Feb 2025 13:02:55 +0100 Subject: [PATCH] change exposed name of the timer duration --- include/devices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/devices.h b/include/devices.h index b6f8e0b..3b4d5da 100644 --- a/include/devices.h +++ b/include/devices.h @@ -46,7 +46,7 @@ namespace Devices { strcmp("ON", msg) == 0 ? Display::changeHourFormat24(true) : Display::changeHourFormat24(false); } }).restoreStateFromCommand().build(); - Number* displayTimerMqtt = Builder::instance(new Number{ "Display imer", "display_timer", + Number* displayTimerMqtt = Builder::instance(new Number{ "Timer duration", "timer_duration", [](const char* msg) { auto value = String{ msg }.toInt(); Display::Timer::timer = value;