mirror of https://github.com/arendst/Tasmota.git
Add `set_power` event
This commit is contained in:
parent
f77f77258f
commit
38d834dda9
|
@ -811,8 +811,9 @@ bool Xdrv52(uint8_t function)
|
|||
case FUNC_EVERY_SECOND:
|
||||
callBerryEventDispatcher(PSTR("every_second"), nullptr, 0, nullptr);
|
||||
break;
|
||||
// case FUNC_SET_POWER:
|
||||
// break;
|
||||
case FUNC_SET_POWER:
|
||||
callBerryEventDispatcher(PSTR("set_power"), nullptr, XdrvMailbox.index, nullptr);
|
||||
break;
|
||||
#ifdef USE_WEBSERVER
|
||||
case FUNC_WEB_ADD_CONSOLE_BUTTON:
|
||||
if (XdrvMailbox.index) {
|
||||
|
|
Loading…
Reference in New Issue