I have setup some conditional cards that display when presence is detected in each room. I wanted to add a button to the header of the card to toggle automations relating to the presence detection in each room. The problem is the spacing between the title of the card and the header is ugly. Is there any way to remove the large white space?
Any help is appreciated thank you.
type: conditional
conditions:
- condition: state
entity: binary_sensor.motion_study_presence
state: 'on'
card:
type: entities
entities:
- entity: light.shellyplus1pm_10061ccadfa8_switch_0
title: Study
header:
type: buttons
entities:
- entity: automation.study_light_presence
icon: mdi:motion-sensor
name: Motion Automations