Manual Card for Thermostat

I searched for weeks an existing custom Thermostat Card with scheduler in order to start automatically heaters in my house, but I didn’t find anything… I found a thread which ask this feature which can be amazing, but nothing seems to be developped.

So I have made my own automation in order to schedule my heater. And I am happy because it is working nicely!

However, my interface is ugly, and I would like to create my own beautiful card in order to integrate mode buttons and timers input, and then use it in each of my room. But I don’t know where to start…I tried to use vertical / Horizontal Stack in manual card, but I haven’t found how to integrate timer in these stacks… Here are the original timers :
unknown
And here what I tried to do with the manual card :

    cards:
      - entity: climate.thermostat_salle_de_bain
        hold_action: more-info
        type: thermostat
      - cards:
          - entity: input_datetime.weekday_start_salle_de_bain
            name: Test
            type: entities
          - entity: input_datetime.weekday_stop_salle_de_bain
            hold_action: more-info
            name: Ambilight TV
            type: entities
          - entity: input_datetime.weekend_start_salle_de_bain
            hold_action: more-info
            name: Led Exterior
            type: entities
          - entity: input_datetime.weekend_stop_salle_de_bain
            hold_action: more-info
            type: entity-button
        type: horizontal-stack
      - cards:
          - entity: light.yeelight_color1_04cf8c9557ff
            hold_action: more-info
            name: Candeeiro Pé
            tap_action: toggle
            type: entity-button
          - entity: light.luz_philips_xiaomi
            hold_action: more-info
            name: Candeeiro aparador
            tap_action: toggle
            type: entity-button
        type: horizontal-stack
      - cards:
          - entities:
              - entity: input_datetime.weekday_start_salle_de_bain
                icon: 'mdi:air-conditioner'
                name: 'Turn on:'
              - entity: input_datetime.weekday_stop_salle_de_bain
                icon: 'mdi:clock'
                name: 'Turn on:'
        type: horizontal-stack
    panel: true
    title: Thermostat Salle de Bain
    type: vertical-stack

Do you have an idea why it is not working ?

Do you have some better idea to make a nice custom card ?

Thanks!

The problem is that entities need to be an array (and exist) for the entities card.

In short, you’re missing some stuff to get what you want.
Try making each card by itself before putting it in a stack, and work from the inside-out.

Also, updating to 0.101 or later should fix that thermostat card glitch.

Thanks for your answer. I successfully did that :slight_smile: :

But I still find it uggly… I would like a more compact lovelace card, with nice buttons, some separations lines between each sections

Is there are others options to create a nice custom card ?

Thanks again.