|
|
@ -121,7 +121,7 @@ void MQTTClient::publish_msg(const QString& topic, const QString& payload) |
|
|
|
void MQTTClient::allHeatersOn(bool on) { |
|
|
|
Settings *s = Settings::getInstance(); |
|
|
|
|
|
|
|
QString payload = on ? QString("on") : QString("off"); |
|
|
|
QString payload = on ? QString("1") : QString("0"); |
|
|
|
|
|
|
|
for (int i = 0; i < s->nbZones(); i++) { |
|
|
|
const struct Room *r = &(s->m_rooms.at(i)); |
|
|
|