@AdmiralRaccoon wrote:
Hi there,
This card should list me some system stats. At the End of the card, there are also some conditions, to show the status of my 3 NAS only when they´re turned on, and it looks like this:Why is there so much space between the entry “HA Database Size” and the Diskstation-sensors and how can I reduce them to aliign correct to the other entries?
Here is the code:
cards: - color: 'rgb(223, 255, 255)' color_type: label-card name: system stats styles: card: - height: 15px tap_action: action: navigate navigation_path: /lovelace/7 type: 'custom:button-card' - cards: - entities: - entity: sensor.speedtest_download - sensor.speedtest_upload - binary_sensor.fritzbox_connectivity - entity: sensor.fb7590uptime icon: 'mdi:clock' name: Fritzbox 7590 - entity: sensor.ha_uptime name: Hassio - entity: sensor.nucuptime icon: 'mdi:clock' name: NUC - entity: sensor.omvuptime icon: 'mdi:clock' name: OpenMediaVault - entity: sensor.db_size icon: 'mdi:database' name: HA Database Size show_header_toggle: false title: null type: entities type: vertical-stack - cards: - card: entities: - entity: sensor.ds3status icon: 'mdi:database' name: Diskstation3 type: entities conditions: - entity: switch.diskstation3 state: 'on' type: conditional - card: entities: - entity: sensor.ds2status name: Diskstation2 type: entities conditions: - entity: switch.diskstation2 state: 'on' type: conditional - card: entities: - entity: sensor.ds1status name: Diskstation1 type: entities conditions: - entity: switch.diskstation1 state: 'on' type: conditional type: vertical-stack type: vertical-stack
Posts: 2
Participants: 1