| 190 | return state.getValue().at("config").at("ledindication").get<bool>(); |
| 191 | } |
| 192 | void Sensor::setLEDIndication(bool on) |
| 193 | { |
| 194 | sendPutRequest("/config", nlohmann::json {{"ledindication", on}}, CURRENT_FILE_INFO); |
| 195 | } |
| 196 | |
| 197 | nlohmann::json Sensor::getState() const |
| 198 | { |