Hide slider when input_select is selected

Hi, I wander if it is possible to hide the slider when the input_select has been expl “AUTO” en when is select “ON” it needs to be visible

entities:
  - entity: input_select.woonkamer_licht
  - entity: light.woonkamer_licht
    type: 'custom:slider-entity-row'
  - entity: light.bureau
  - entity: light.dressoir
  - entity: light.raam
show_header_toggle: false
title: Woonkamer Licht
type: entities

Naamloos

Thnx, that helps a lot!.

But i still dont get the result is was hoping for. Am I doing something wrong?

Naamloos

entities:
  - entity: input_select.woonkamer_licht
  - entity: light.woonkamer_licht
    type: 'custom:slider-entity-row'
    type: 'custom:conditional-entity-row'
    condition:
      entity: input_select.woonkamer_licht
      state: 'ON'
  - entity: light.bureau
  - entity: light.dressoir
  - entity: light.raam
show_header_toggle: false
title: Woonkamer Licht
type: entities

entities:
  - entity: input_select.woonkamer_licht
  - entity: light.woonkamer_licht
    cards:
      - type: 'custom:slider-entity-row'
      - type: 'custom:conditional-entity-row'
        condition:
          entity: input_select.woonkamer_licht
          state: 'ON'
  - entity: light.bureau
  - entity: light.dressoir
  - entity: light.raam
show_header_toggle: false
title: Woonkamer Licht
type: entities