Button cards updated for new dashboard sections?

This is a custom card which may not be adapted to sections yet.
Try card-modding:

      - type: grid
        cards:
          - type: button
            entity: switch.test_switch
            name: stock

          - type: custom:button-card
            entity: switch.test_switch
            name: custom - default
            layout_options:
              grid_columns: 2
              grid_rows: 2

          - type: custom:button-card
            entity: switch.test_switch
            name: custom - modded
            layout_options:
              grid_columns: 2
              grid_rows: 2
            styles:
              card:
                - height: 100%
            card_mod:
              style: |
                :host {height: 100% !important}

          - type: button
            entity: switch.test_switch
            name: stock

image

3 Likes