I am trying to use some of the Lovelace Custom UI elements but each time it seems to work but before the element is displayed correctly a red panel flashes up and displays the source code from the ui-lovelave.yaml together with the error message “custom element doesn’t exist : slider-entity-row”. However the element is then displayed correctly. Any ideas?
The extract from my ui-lovelace.yaml is below and the Home Assistant version is .75.3
It’s a known behaviour for lovelace custom cards. The way core Lovelace handles custom cards, it assume they are not going to load (showing a red box) and when they finish loading it renders them. I think it requires a fix in Core to have a better experience.
@winter You right. The frontend version is 20180916.0, the fix however was merged 2018-09-17. So it can’t be included, unfortunately. I thought otherwise.
Highly appreciate any help.
Maybe my homeassistant installation does not look into ./www/custom_ui ???
Thanks.
edit…p.s.:
also switched front javascript between es5, auto, latest…doesn’t affect anything
pls. tell me what logs to post…I highly appreciate any hint.
@webwurli Just to clarify, you are talking about Lovelace and your custom element isn’t loaded at all, right?
Can you post your ui-lovelace.yaml (either completely or the relevant parts: resources and the entity for which you want to use it) as well as the custom component itself.
Please use codeblocks ``` for these, that will make reviewing a lot easier.
Hey there, I was searching around because I’m having this same issue. I was wondering what you meant by ‘copy the js’ to the new file. What parts of the HTML document did you copy? Sorry i’m not great with programming languages so I’m not sure what to even look for. Figuring this stuff out as I go…
hello , may i know more about this? i still cannot run standard-UI under lovelace… but i really wanna use the feature in custom-ui, but custom-ui is base standard-UI and only working with standard-UI , cannot work with lovelace, but once i use your way to success , i think i can use custom-ui in lovelace. !!!