mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
cleanup publishing
This commit is contained in:
@@ -153,6 +153,9 @@ bool System::command_publish(const char * value, const int8_t id) {
|
||||
} else if (value_s == (F_(mixer))) {
|
||||
EMSESP::publish_device_values(EMSdevice::DeviceType::MIXER);
|
||||
return true;
|
||||
} else if (value_s == (F_(water))) {
|
||||
EMSESP::publish_device_values(EMSdevice::DeviceType::WATER);
|
||||
return true;
|
||||
} else if (value_s == "other") {
|
||||
EMSESP::publish_other_values(); // switch and heat pump
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user