From 62f775402f41bf41f0e8ccb08ddc812298ca4718 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 22 Aug 2026 14:53:50 -0500 Subject: [PATCH] Fix a comment typo --- esphome/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/__main__.py b/esphome/__main__.py index 8221f1701b..769b66ecc8 100644 --- a/esphome/__main__.py +++ b/esphome/__main__.py @@ -766,7 +766,7 @@ def _wrap_to_code(name, comp, yaml_util): # unsorted dump would churn main.cpp and relink every run conf_str = yaml_util.dump(conf, sort_keys=True) conf_str = conf_str.replace("//", "") - # remove tailing \ to avoid multi-line comment warning + # remove trailing \ to avoid multi-line comment warning conf_str = conf_str.replace("\\\n", "\n") cg.add(cg.LineComment(indent(conf_str))) await coro(conf)