Browse Source

Send brightness to websocket

fixup 868d153f lights status refactor
rules-rpn
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
d87f6124c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/light.ino

+ 1
- 0
code/espurna/light.ino View File

@ -840,6 +840,7 @@ void _lightWebSocketStatus(JsonObject& root) {
for (unsigned char id=0; id < _light_channel.size(); id++) {
channels.add(lightChannel(id));
}
root["brightness"] = lightBrightness();
}
void _lightWebSocketOnSend(JsonObject& root) {


Loading…
Cancel
Save