light: report disabled relay support

This commit is contained in:
Maxim Prokhorov
2022-11-17 00:23:34 +03:00
parent f37f380c04
commit 45c54863ba

View File

@@ -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
}