1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-13 00:32:20 +01:00

Rename WEBSERVER_PORT define to USE_WEBSERVER_PORT (#3102)

This commit is contained in:
Oxan van Leeuwen
2022-01-24 00:34:38 +01:00
committed by GitHub
parent 2a84db7f85
commit c2ee0f0864
6 changed files with 9 additions and 9 deletions

View File

@@ -66,8 +66,8 @@ async def to_code(config):
cg.add_define("USE_WEBSERVER")
cg.add(paren.set_port(config[CONF_PORT]))
cg.add_define("WEBSERVER_PORT", config[CONF_PORT])
cg.add_define("USE_WEBSERVER")
cg.add_define("USE_WEBSERVER_PORT", config[CONF_PORT])
cg.add(var.set_css_url(config[CONF_CSS_URL]))
cg.add(var.set_js_url(config[CONF_JS_URL]))
cg.add(var.set_allow_ota(config[CONF_OTA]))