mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
auto formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user