mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-08 09:17:06 +01:00
light: report disabled relay support
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user