mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 01:59:08 +03:00
remove obsolete reference to JsonObject
This commit is contained in:
@@ -153,10 +153,10 @@ class AnalogSensor {
|
||||
}
|
||||
|
||||
bool update(uint8_t gpio, const std::string & name, double offset, double factor, uint8_t uom, int8_t type, bool deleted = false);
|
||||
bool get_value_info(JsonObject & output, const char * cmd, const int8_t id) const;
|
||||
bool get_value_info(JsonObject output, const char * cmd, const int8_t id) const;
|
||||
void store_counters();
|
||||
|
||||
bool command_info(const char * value, const int8_t id, JsonObject & output) const;
|
||||
bool command_info(const char * value, const int8_t id, JsonObject output) const;
|
||||
|
||||
|
||||
#if defined(EMSESP_TEST)
|
||||
@@ -172,7 +172,7 @@ class AnalogSensor {
|
||||
void remove_ha_topic(const int8_t type, const uint8_t id) const;
|
||||
bool command_setvalue(const char * value, const int8_t gpio);
|
||||
void measure();
|
||||
bool command_commands(const char * value, const int8_t id, JsonObject & output);
|
||||
bool command_commands(const char * value, const int8_t id, JsonObject output);
|
||||
|
||||
std::vector<Sensor> sensors_; // our list of sensors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user