improved icon toggling

This commit is contained in:
Proddy
2022-05-28 20:23:16 +02:00
parent 356390c92b
commit e4447ee1b9
4 changed files with 100 additions and 46 deletions

View File

@@ -850,6 +850,8 @@ void EMSdevice::generate_values_web_customization(JsonArray & output) {
obj["n"] = name;
}
}
} else {
obj["n"] = "";
}
obj["m"] = dv.state >> 4; // send back the mask state. We're only interested in the high nibble