Cover scheduler configuration using fold entity

Hi,

I’m trying to make a cover scheduler, and for that, I need to can set the days os the week that it will open with the sunset or with hours configured.

For setting the days of the week I’m using a glance card with 7 columns.
And I was showing it depending on the entity arrow, but then I discovered the fold-entity-row and that looks what I need, but the problem is that it is used entities, and I’m using a glance. Is it possible for me to convert a glance to an entity?

Or there is a better solution?

There is at the moment my card:

And my code:

cards:
  - type: entities
    title: Estoro
    entities:
      - input_boolean.automatico_estoro_quarto
  - card:
      columns: 7
      entities:
        - entity: input_boolean.segunda_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
        - entity: input_boolean.terca_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quarta_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quinta_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sexta_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sabado_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.domingo_sol_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
      style: |
        ha-card {
          background: none;
          box-shadow: none;
          padding-top: 5;
          padding-bottom: 5px;
          padding-left: 0px;
          padding-right: 0px;
        }
      no_card: true
      type: glance
    conditions:
      - entity: input_boolean.automatico_estoro_quarto
        state_not: 'off'
    type: conditional
  - entities:
      - entity: input_boolean.abrir_estoro_tempo_bool
    show_header_toggle: false
    type: entities
  - card:
      columns: 7
      entities:
        - entity: input_boolean.segunda_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
        - entity: input_boolean.terca_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quarta_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quinta_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sexta_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sabado_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.domingo_abrir_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
      style: |
        ha-card {
          background: none;
          box-shadow: none;
          padding-top: 5;
          padding-bottom: 5px;
          padding-left: 0px;
          padding-right: 0px;
        }
      type: glance
    conditions:
      - entity: input_boolean.abrir_estoro_tempo_bool
        state_not: 'off'
    type: conditional
  - entities:
      - entity: input_boolean.fechar_estoro_tempo_bool
    show_header_toggle: false
    type: entities
  - card:
      columns: 7
      entities:
        - entity: input_boolean.segunda_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
        - entity: input_boolean.terca_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quarta_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.quinta_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sexta_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.sabado_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
        - entity: input_boolean.domingo_fechar_marcelo_bool
          hold_action:
            action: more-info
          show_icon: true
          show_name: true
          show_state: false
          tap_action:
            action: toggle
          type: entity-button
      type: glance
      style: |
        ha-card {
          background: none;
          box-shadow: none;
          padding-top: 5;
          padding-bottom: 5px;
          padding-left: 0px;
          padding-right: 0px;
        }
    conditions:
      - entity: input_boolean.fechar_estoro_tempo_bool
        state_not: 'off'
    type: conditional
  - entities:
      - entity: input_datetime.hours_abrir_estoro
      - entity: input_datetime.hours_fechar_estoro
      - entity: cover.estoro_quarto
    show_header_toggle: false
    type: entities
in_card: true
type: vertical-stack

Thanks for your attention.

Used multiple entity row with condtional.

Thanks :slight_smile: