Skip to content

📐 Home Assistant Card: Similar to vertical/horizontal-stack, but removes card borders

License

Notifications You must be signed in to change notification settings

PruvoNet/vertical-stack-in-card

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vertical Stack In Card

Version Downloads Version Stars Discord

Vertical Stack In Card allows you to group multiple cards in one card.

Please ⭐️ this repo if you find it useful

Example

Options

Name Type Default Description
type string Required custom:vertical-stack-in-card
cards list Required List of cards
title string Optional Card title
horizontal boolean Optional Default: false
styles object Optional Adds custom CSS directives to child cards

Installation

  1. Install the vertical-stack-in-card card by copying vertical-stack-in-card.js to <config directory>/www/vertical-stack-in-card.js

Bash:

wget https://raw.githubusercontent.com/ofekashery/vertical-stack-in-card/master/vertical-stack-in-card.js
mv vertical-stack-in-card.js /config/www/
  1. Link vertical-stack-in-card inside your ui-lovelace.yaml
resources:
  - url: /local/vertical-stack-in-card.js?v=0.4.1
    type: js
  1. Add a custom card in your ui-lovelace.yaml

Example

type: 'custom:vertical-stack-in-card'
title: My Card
cards:
  - type: glance
    entities:
      - sensor.temperature_sensor
      - sensor.humidity_sensor
      - sensor.motion_sensor
  - type: entities
    entities:
      - switch.livingroom_tv
      - entity: script.livingroom_receiver
        name: Receiver
      - switch.livingroom_ac

Credits

About

📐 Home Assistant Card: Similar to vertical/horizontal-stack, but removes card borders

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%