cleanup publishing

This commit is contained in:
MichaelDvP
2023-11-05 14:20:13 +01:00
parent d18fd4948c
commit adcc59642c
3 changed files with 4 additions and 6 deletions

View File

@@ -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;