mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
added all devices - API: HTTP read/write #506
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
namespace emsesp {
|
||||
class EMSESP {
|
||||
public:
|
||||
static System system_;
|
||||
static Mqtt mqtt_;
|
||||
static Sensors sensors_;
|
||||
static System system_;
|
||||
static Mqtt mqtt_;
|
||||
static Sensor sensor_;
|
||||
};
|
||||
} // namespace emsesp
|
||||
|
||||
@@ -169,7 +169,7 @@ void MqttSettingsService::configureMqtt() {
|
||||
_mqttClient.connect();
|
||||
}
|
||||
|
||||
emsesp::EMSESP::sensors_.reload();
|
||||
emsesp::EMSESP::sensor_.reload();
|
||||
}
|
||||
|
||||
void MqttSettings::read(MqttSettings & settings, JsonObject & root) {
|
||||
|
||||
Reference in New Issue
Block a user