mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-12 03:07:13 +01:00
webui: apply modules-... style globally
Otherwise, some things are still hidden (or, depend on the order of incoming messages) Make thermostat code use those as well, instead of injecting thermostatVisible in every json payload
This commit is contained in:
@@ -1991,7 +1991,7 @@ void _lightWebSocketStatus(JsonObject& root) {
|
||||
}
|
||||
|
||||
void _lightWebSocketOnVisible(JsonObject& root) {
|
||||
root["colorVisible"] = 1;
|
||||
wsPayloadModule(root, "color");
|
||||
}
|
||||
|
||||
void _lightWebSocketOnConnected(JsonObject& root) {
|
||||
|
||||
Reference in New Issue
Block a user