mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add test for Dan "ems-esp/boiler/wwcircpump with payload off"
This commit is contained in:
14
src/mqtt.h
14
src/mqtt.h
@@ -178,12 +178,20 @@ class Mqtt {
|
||||
return ha_climate_format_;
|
||||
}
|
||||
|
||||
// nested_format is 1 if nested, otherwise 2 for single topics
|
||||
static uint8_t nested_format() {
|
||||
return nested_format_; // nested_format is 1 if nested, otherwise 2 for single topics
|
||||
return nested_format_;
|
||||
}
|
||||
static void nested_format(uint8_t nested_format) {
|
||||
nested_format_ = nested_format;
|
||||
}
|
||||
|
||||
static void nested_format(uint8_t nested_format) {
|
||||
nested_format_ = nested_format; // nested_format is 1 if nested, otherwise 2 for single topics
|
||||
// subscribe_format is 0 for General topics, 1 for individual with main heating circuit or 2 for individual topics with all heating circuits
|
||||
static uint8_t subscribe_format() {
|
||||
return subscribe_format_;
|
||||
}
|
||||
static void subscribe_format(uint8_t subscribe_format) {
|
||||
subscribe_format_ = subscribe_format;
|
||||
}
|
||||
|
||||
static bool ha_enabled() {
|
||||
|
||||
Reference in New Issue
Block a user