formatting

This commit is contained in:
proddy
2024-12-20 17:48:14 +01:00
parent b854c777c8
commit 3e3e10e6a0
2 changed files with 4 additions and 5 deletions

View File

@@ -1496,8 +1496,7 @@ void System::get_value_json(JsonObject output, const std::string & circuit, cons
output["circuit"] = circuit;
}
output["readable"] = true;
output["writeable"] =
(name == "showerTimer" || name == "showerAlert" || name == "enabled" || name == "hideLed" || name == "analogEnabled");
output["writeable"] = (name == "showerTimer" || name == "showerAlert" || name == "enabled" || name == "hideLed" || name == "analogEnabled");
output["visible"] = true;
if (val.is<bool>()) {
output["value"] = val.as<bool>();