siwtch info with list - #176

This commit is contained in:
proddy
2021-11-02 16:02:49 +01:00
parent 5850a82d80
commit 131b936a69
4 changed files with 17 additions and 11 deletions

View File

@@ -248,7 +248,7 @@ class EMSdevice {
const std::string get_value_uom(const char * key);
bool get_value_info(JsonObject & root, const char * cmd, const int8_t id);
enum OUTPUT_TARGET : uint8_t { API_VERBOSE, API, MQTT };
enum OUTPUT_TARGET : uint8_t { API_VERBOSE, API_SHORT, MQTT };
bool generate_values_json(JsonObject & output, const uint8_t tag_filter, const bool nested, const uint8_t output_target);
void generate_values_json_web(JsonObject & output);