Skip to content

Commit 2755433

Browse files
authored
fix(aquamqtt): provide proper boiler brand to mqtt (#79)
1 parent 442fc5c commit 2755433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AquaMQTT/src/task/MQTTTask.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ void MQTTTask::updateMainStatus(bool fullUpdate, ProtocolVersion& version)
862862
publishString(
863863
MAIN_SUBTOPIC,
864864
MAIN_SETTING_BOILER_BRAND,
865-
brandStr(static_cast<MAINBrands>(message->getAttr(MAIN_ATTR_U16::SETTING_BOILER_CAPACITY))));
865+
brandStr(static_cast<MAINBrands>(message->getAttr(MAIN_ATTR_U8::SETTING_BRAND))));
866866
}
867867
}
868868

0 commit comments

Comments
 (0)