mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
refactor common commands #1897
This commit is contained in:
@@ -171,6 +171,7 @@ class AnalogSensor {
|
||||
bool command_setvalue(const char * value, const int8_t gpio);
|
||||
void measure();
|
||||
void addSensorJson(JsonObject output, const Sensor & sensor);
|
||||
void get_value_json(JsonObject output, const Sensor & sensor);
|
||||
|
||||
std::vector<Sensor> sensors_; // our list of sensors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user