Getting error “t.entity is undefined” with the plugin "slider-entity-row"

Hi,

I have installed the slider-entity-row plugin for lovelace but when using it in a card i get the error message “t.entity is undefined”.

I have another plugin installed, the “toggle-lock-entity-row” which works perfectly so it seems as the basic requirements are in place.

My lovelace config file include the following code:
resources:

  • url: /local/toggle-lock-entity-row.js
    type: js
  • url: /local/slider-entity-row.js?v=1
    type: module

And my entity card config looks like this;
entities:

  • entity_id: light.kok_flod
    type: ‘custom:slider-entity-row’
  • light.kok_bank
  • light.kok_spot
  • entity: light.kok_matbord
    type: ‘custom:toggle-lock-entity-row’
    title: Kök
    type: entities

The error message looks like this:

t.entity is undefined

{
“entity_id”: “light.kok_flod”,
“type”: “custom:slider-entity-row”
}

Any idea of what i may have done wrong here??

Thanks,
Anders

Please see the sticky post which, amongst other things, explains how to format your post.

1 Like