Hi2YouAll,
In the past I had a working Web Server Component config, which included the js_include and css_include options. Some time ago I noticed errors when building it again (with no options changed).
I did some checking and found that the js_include/css_include options were not working (any more). The version 2 has the same problem, but not when using the local: true and without js_include.
I tried to rebuilt it (with the js_include/css_include options enabled) but I don’t get what I’m doing wrong…:
The error is on multiple devices.
The config I used for this part:
# Webserver
# https://esphome.io/components/web_server.html?highlight=webserver
web_server:
port: xxxxx
auth:
username: xxxxxxxxxx
password: "xxxxxxxxxxxxxxxxxxxxx"
css_include: !secret css_include
css_url: ""
js_include: !secret js_include
js_url: ""
The file are stored locally (contents of my secret file):
css_include: "/config/esphome/esphome-docs/webserver-v1.min.css"
js_include: "/config/esphome/esphome-docs/webserver-v1.min.js"
js_v2_include: "/config/esphome/esphome-docs/www.js"
I tried to paste the file location instead of the !secret reference, no change. The editor states the file is valid (= found as valid).
Anyone got any notion what is going wrong?
I’m kind of noob for ESP32, so please keep that in mind…
Thank you in advance!