1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-22 21:22:22 +01:00

Display the configured esphome:comment on the WebServer (#4246)

This commit is contained in:
Gil Peeters
2023-01-17 11:02:54 +11:00
committed by GitHub
parent 05420291ce
commit 11518364a1
4 changed files with 21 additions and 15 deletions

View File

@@ -350,6 +350,7 @@ async def to_code(config):
cg.App.pre_setup(
config[CONF_NAME],
config[CONF_FRIENDLY_NAME],
config.get(CONF_COMMENT, ""),
cg.RawExpression('__DATE__ ", " __TIME__'),
config[CONF_NAME_ADD_MAC_SUFFIX],
)