diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 0f1c7fe5a..ef9264cf8 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -2206,6 +2206,7 @@ int http_fn_ha_cfg(http_request_t* request) { http_html_start(request, "Home Assistant Setup"); poststr_h4(request, "Home Assistant Cfg"); hprintf255(request, "

Note that your short device name is: %s

", shortDeviceName); +#if ENABLE_OLD_YAML_GENERATOR poststr_h4(request, "Paste this to configuration yaml"); poststr(request, "
Make sure that you have \"switch:\" keyword only once! Home Assistant doesn't like dup keywords.
"); poststr(request, "
You can also use \"switch MyDeviceName:\" to avoid keyword duplication!
"); @@ -2353,6 +2354,7 @@ int http_fn_ha_cfg(http_request_t* request) { #endif poststr(request, ""); +#endif poststr(request, "
 

"); poststr(request, htmlFooterReturnToCfgOrMainPage); http_html_end(request); diff --git a/src/obk_config.h b/src/obk_config.h index 4da6cf76d..1676220c3 100644 --- a/src/obk_config.h +++ b/src/obk_config.h @@ -48,6 +48,10 @@ #define ENABLE_NTP_DST 1 #define ENABLE_DRIVER_LED 1 #define ENABLE_LED_BASIC 1 +#define ENABLE_DRIVER_TESTPOWER 1 +#define ENABLE_DRIVER_BL0942 1 +#define ENABLE_DRIVER_BL0937 1 +#define ENABLE_DRIVER_CSE7766 1 #define ENABLE_DRIVER_HT16K33 1 #define ENABLE_DRIVER_MAX72XX 1 #define ENABLE_DRIVER_TUYAMCU 1