I would like to reduce the space between the entities of an auto entities card.
I tried to use card-mod, this works well with a Entities Card.
however i could not get it to work with a auto entities card.
any ideas what i am doing wrong?
this is the not working yaml:
type: custom:auto-entities
card:
type: entities
card_mod:
style: |
.card-content div {
margin-top: -15px !important;
margin-bottom: -25px !important;
#color: red;
height: 50px;
}
show_header_toggle: false
state_color: true
entities:
- entity: sensor.sonoff_1002230902_power
name: Wasmachine
- entity: sensor.sonoff_100226f968_power
name: KoffiePot
- entity: sensor.sonoff_10022c5b9d_power
name: Afwasmachine
- entity: sensor.sonoff_10022c5a04_power
name: Vriezer
- entity: sensor.sonoff_10022c5b0e_power
name: Koelkast
- entity: sensor.sonoff_10020f968e_power
name: Aircos beneden
- entity: sensor.sonoff_10022c6af4_power
name: TV set
- entity: sensor.sonoff_10022c69d1_power
name: Computer tafel
- entity: sensor.sonoff_10022c64f0_power
name: 3D printer
- entity: sensor.sonoff_1002240a61_power
name: Boiler
- entity: sensor.sonoff_1002244b29_power
name: Aircos boven
- entity: sensor.airfry_power
name: Airfry
icon: mdi:flash
- entity: sensor.sonoff_1002440887_power
name: Chicken heater
- entity: sensor.sonoff_100243fd29_power
name: Unifi Servers
- entity: sensor.sonoff_10022c5f94_power
name: S60TPF-11
sort:
method: state
numeric: true
reverse: true
type or paste code here
type or paste code here