add a flag that allows to enable RETAIN on MQTT publishes of power channels (channels with relay)

This commit is contained in:
openshwprojects
2022-11-29 23:48:00 +01:00
parent 667a7edd95
commit 5e18eaa948
4 changed files with 34 additions and 5 deletions

View File

@ -2415,12 +2415,12 @@ const char* g_obk_flagNames[] = {
"[LED] Smooth transitions for LED (EXPERIMENTAL)",
"[MQTT] Always publish channels used by TuyaMCU",
"[LED] Force RGB mode (3 PWMs for LEDs) and ignore futher PWMs if they are set",
"[MQTT] Retain power channels (Relay channels, etc)",
"error",
"error",
"error",
"error",
"error",
};
};
int http_fn_cfg_generic(http_request_t* request) {
int i;