mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
fix handling of web server version (#5405)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
parent
e3eef1cc6d
commit
bf253c21fa
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ CONFIG_SCHEMA = cv.All(
|
||||||
{
|
{
|
||||||
cv.GenerateID(): cv.declare_id(WebServer),
|
cv.GenerateID(): cv.declare_id(WebServer),
|
||||||
cv.Optional(CONF_PORT, default=80): cv.port,
|
cv.Optional(CONF_PORT, default=80): cv.port,
|
||||||
cv.Optional(CONF_VERSION, default=2): cv.one_of(1, 2),
|
cv.Optional(CONF_VERSION, default=2): cv.one_of(1, 2, int=True),
|
||||||
cv.Optional(CONF_CSS_URL): cv.string,
|
cv.Optional(CONF_CSS_URL): cv.string,
|
||||||
cv.Optional(CONF_CSS_INCLUDE): cv.file_,
|
cv.Optional(CONF_CSS_INCLUDE): cv.file_,
|
||||||
cv.Optional(CONF_JS_URL): cv.string,
|
cv.Optional(CONF_JS_URL): cv.string,
|
||||||
|
|
Loading…
Reference in a new issue