Help with slider row - Custom element doesn't exist

Hi, please can you tell me what I’m doing wrong?
I have the .js copy pasted from “raw” from this GitHub site https://github.com/thomasloven/lovelace-slider-entity-row
saved as .js in /config/www directory (via samba path is \HASSIO\config\www ).
Looks like this:

This is the top of my lovelance config:
image

and this is the result:

image

Still getting this thing. I tried everything, but it is still returning this message and this log in the console:

Please, what I’m doing wrong?

Thanks!

Did you restart HA after creating www? Alternately, clear cache… Press F12 (chrome) right click on refresh and select empty cache and hard reload.

Yes I did…many times :slight_smile:
Also cache cleared many times, tested in anonymous window…

There are two things I see…

the first is that the indentation on your entities card that you have the custom row in is all the way to the left according to your screen shot. It might not really be that way so that’s why it’s better to post your actual code with correct formatting just so we can see if it looks right.

the second thing that is different from mine is I don’t have any quotes around the “type:” entry. I don’t know if that will fix it but at least it’s a difference I see and mine is working.

Here’s mine:

  - type: entities
    title: Light Bulbs
    entities:
     ## Deck
      - entity: light.sengled_e11g13_03070a4c_1
        type: custom:slider-entity-row
        toggle: true
      ## Stairway
      - entity: light.sengled_e11g13_030713d6_1 
        type: custom:slider-entity-row
        toggle: true

resources appears to be mispelled as recourses in your lovelace config file - I wonder if that’s doing it.

3 Likes

OMG, this is it! (c / s ) Thank you guys and sorry for my blindness :blush:

good catch! :slightly_smiling_face: