change exposed name of the timer duration
This commit is contained in:
parent
70f92f4d7e
commit
e6ef1bb8b9
@ -46,7 +46,7 @@ namespace Devices {
|
||||
strcmp("ON", msg) == 0 ? Display::changeHourFormat24(true) : Display::changeHourFormat24(false);
|
||||
}
|
||||
}).restoreStateFromCommand().build();
|
||||
Number* displayTimerMqtt = Builder<Number>::instance(new Number{ "Display imer", "display_timer",
|
||||
Number* displayTimerMqtt = Builder<Number>::instance(new Number{ "Timer duration", "timer_duration",
|
||||
[](const char* msg) {
|
||||
auto value = String{ msg }.toInt();
|
||||
Display::Timer::timer = value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user