From f836209249e5c9237bcd2f652c9e72921d892722 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 21 Sep 2021 18:04:48 +0200 Subject: [PATCH] added output target when rendering json --- src/emsesp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emsesp.h b/src/emsesp.h index 37e1b6150..b64a6eb01 100644 --- a/src/emsesp.h +++ b/src/emsesp.h @@ -249,7 +249,7 @@ class EMSESP { static void process_version(std::shared_ptr telegram); static void publish_response(std::shared_ptr telegram); static void publish_all_loop(); - static bool command_info(uint8_t device_type, JsonObject & json, const int8_t id, bool verbose = true); + static bool command_info(uint8_t device_type, JsonObject & json, const int8_t id, const uint8_t output_target); static bool command_commands(uint8_t device_type, JsonObject & json, const int8_t id); static bool command_entities(uint8_t device_type, JsonObject & json, const int8_t id);