Hello,
I noticed an issue with my node palette @lunatone/node-red-dali in the Node-RED sidebar of the Home Assistant addon where some of the nodes in the palette are missing and cannot be used. When accessing the Node-RED editor directly with the 1880 port no nodes are missing. It seems like it is because the affected nodes rely on the Node-RED feature to load extra resources in HTML files (See: Loading extra resources in the editor : Node-RED). The URL that is requested when using Node-RED from the sidebar in Home Assistant doesn't work and I get this error in the browser.
Has anyone had a similar problem and knows a way around that?
Edit:
This is how I access the resources:
<script type="module">
import { DALICommands } from "../resources/@lunatone/node-red-dali/dali-frame-html.js";
...
</script>
but I also tried it like this:
<script src="resources/@lunatone/node-red-dali/dali-commands.js"></script>