Merge branch 'v2 a11' of https://github.com/proddy/EMS-ESP into v2

This commit is contained in:
MichaelDvP
2020-05-31 10:05:39 +02:00
20 changed files with 140 additions and 125 deletions

View File

@@ -274,7 +274,7 @@ void Sensors::publish_values() {
uint8_t i = 1;
for (const auto & device : devices_) {
if (mqtt_format_ == Settings::MQTT_format::MY) {
if (mqtt_format_ == Settings::MQTT_format::CUSTOM) {
char s[5];
doc[device.to_string()] = Helpers::render_value(s, device.temperature_c_, 2);
} else {