I’m using custom:button-cards and in this example, I haven’t figured out how to make the single button on the left match the height of both buttons on the right.
Here’s my yaml. Any ideas? I’ve tried using margin-bottom on the “increment” button but that doesn’t seem to do anything.
- cards:
- cards:
- type: 'custom:button-card'
entity: sensor.ac_hold_time
show_icon: true
icon: 'mdi:clock'
aspect_ratio: 1/1
show_state: false
styles:
card:
- height: 200px;
type: horizontal-stack
- cards:
- icon: 'mdi:menu-up'
aspect_ratio: 2/1
tap_action:
action: call-service
service: input_number.increment
service_data:
entity_id: input_number.ac_hold_time
type: 'custom:button-card'
styles:
card:
- height: 100px;
- icon: 'mdi:menu-down'
aspect_ratio: 2/1
tap_action:
action: call-service
service: input_number.ac_hold_time
service_data:
entity_id: input_number.ac_hold_time
type: 'custom:button-card'
styles:
card:
- height: 100px;
type: vertical-stack
type: horizontal-stack