auto formatting

This commit is contained in:
proddy
2021-05-06 10:10:20 +02:00
parent 7f52ef8bd8
commit 3c1b30a5e4
4 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ bool Mixer::publish_ha_config() {
char tpl[30];
if (type_ == Type::HC) {
snprintf_P(tpl, sizeof(tpl), PSTR("{{value_json.hc%d.id}}"), device_id() - 0x20 + 1);
} else {
} else {
snprintf_P(tpl, sizeof(tpl), PSTR("{{value_json.wwc%d.id}}"), device_id() - 0x28 + 1);
}
doc["val_tpl"] = tpl;