So… I’ve been trying to add a custom slider in to a custom foldable card but can’t get it to work… I want slider on all lamps but can only get it in the first setup…? Any suggestions? Been at it for a few days and I think I’ve tried everything
Post your code from the 3rd example rather than a screen shot and I’ll edit it.
for some reason i couldnt copy and paste the code from my mobile…
here it is
entities:
- entities:
- light.trappa1
- light.trappa_2
head:
type: 'custom:slider-entity-row'
entity: light.trappen
type: 'custom:fold-entity-row'
title: Trappa
type: entities
Wasnt sure if you wanted this:
type: entities
title: Trappa
entities:
- type: 'custom:fold-entity-row'
head:
type: section
label: Trappa
entities:
- type: 'custom:slider-entity-row'
entity: light.trappen
- type: 'custom:slider-entity-row'
entity: light.trappa1
- type: 'custom:slider-entity-row'
entity: light.trappa_2
or this:
type: entities
title: Trappa
entities:
- type: 'custom:fold-entity-row'
head:
type: 'custom:slider-entity-row'
entity: light.trappen
entities:
- type: 'custom:slider-entity-row'
entity: light.trappa1
- type: 'custom:slider-entity-row'
entity: light.trappa_2
the second one.! thank you, i tried so many ways, but now when i see it, it makes sense. thank you!
1 Like