diff --git a/code/espurna/light.cpp b/code/espurna/light.cpp index c3f87020..6307774d 100644 --- a/code/espurna/light.cpp +++ b/code/espurna/light.cpp @@ -2610,6 +2610,8 @@ void _lightWebSocketOnConnected(JsonObject& root) { root["ltStep"] = _light_transition_step.count(); #if RELAY_SUPPORT root["ltRelay"] = espurna::light::settings::relay(); +#else + root["ltRelay"] = false; #endif }