mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 01:59:08 +03:00
test response and custom entity raw, #1212
This commit is contained in:
@@ -205,12 +205,8 @@ class Mqtt {
|
||||
ha_climate_reset_ = reset;
|
||||
}
|
||||
|
||||
static bool send_response() {
|
||||
return send_response_;
|
||||
}
|
||||
|
||||
static void send_response(bool send_response) {
|
||||
send_response_ = send_response;
|
||||
static std::string get_response() {
|
||||
return lastresponse_;
|
||||
}
|
||||
|
||||
void set_qos(uint8_t mqtt_qos) const {
|
||||
@@ -274,6 +270,7 @@ class Mqtt {
|
||||
|
||||
static std::string lasttopic_;
|
||||
static std::string lastpayload_;
|
||||
static std::string lastresponse_;
|
||||
|
||||
// settings, copied over
|
||||
static std::string mqtt_base_;
|
||||
|
||||
Reference in New Issue
Block a user