[please move it, if it should be the wrong place here.]
hello to all ha friends,
I downloaded the files index.html and home.css (with content) into the /config/www directory using Studio Code Server.
After that, I created a new website dashboard, applied the controls and selected ‘with sidebar’ as the type.
The index.html is displayed and the css file also works fine. So far so good.
About the problem:
In addition to a div-soup, the html file also has ‘real’ table-, tbody-, tr- and td-tags. Now I would like to integrate the values of some sensors (temp, pressure, humidity, quality and light intensity) into the corresponding td-tags (or whatever you want to call it). So I want these values to be displayed on the dashboard (index.html).
Likewise, in the css file I would like to change the z-index of certain elements (images) when the sensor status in question is ‘on’.
How can I realize these two things? Who can help me? I’m not getting anywhere at the moment.
I’ve tried ‘ha-floorplan’ so far, but I haven’t found a way to display the sensor values there. ‘Only’ text button or pre-written text, depending on the sensor status. So nothing dynamic, so to speak.
I also tried ‘lovelace-html-card’, but this cannot export a style to an external css file, you cannot insert comments there (=> black screen), and this card cannot process Javascript either…
I’m currently searching, but I haven’t found anything yet - maybe I’m searching wrong?
Thank you very much in advance!
So long
Pc