I’m trying to stop full refresh of web pages when I jump from one page in a Lovelace view to another. For the Node-RED mail GUI I have made a local html, /home/pi/Homeassistant/www/nodered.html that I’m trying to open in an iframe. The code in the file is:
This is giving me a 404. Can that be because I don’t have the configuration in .homeassistant, but a normal, visible directory called Homeassistant on the Pi? I changed to that when I started to use Docker instead of core installation.
Edit: Probably not, adding a directory called .homeassistant and copying in the www directory there didn’t help.
Thanks for answering! Do you mean that there should be a directory under the configuration directory (which contains automation.yaml, configuration.yaml and so on) called “config”, so the file should be in “my configuration directory/config/www”? I tried that too, without any result.
And I’m pretty sure the 404 is that the web server in Hass (if you can call it a web server, I guess it’s more of a web forwarder) is not seeing the file, because I got the same error when I tried this code in the html file: