Giter VIP home page Giter VIP logo

ha-combined-card's Introduction

Home Assistant Combined Card

This is a Home Assisatant Lovelace card that seemlessly combines any other cards into a single card.

It was heavily inspired by stack-in-card, but takes a completely different approach to combining the cards. On top of that, it has a visual editor, allowing you to fully create your combined card from the UI. You can nest cards inside a combined card as deep as you'd like (i.e. use vertical and horizontal stacks as you see fit) without performance issues and without re-introducing borders and shadows inside the nested stacks.

Examples

Here is a stack of cards created using mushroom cards.

default cards

This stack looks pretty nice on its own, but can become chaotic inside a dashboard with even more cards.

With Combined Card, that entire stack can be placed inside a single card, giving it a better group look.

combined in single stack

If this is too undefined for you, you can combine the cards more granularly, in this example into a porch card and a backyard card.

combined in two groups

ha-combined-card's People

Contributors

catdad avatar

Watchers

 avatar  avatar

ha-combined-card's Issues

allow manually setting card size in config

Home Assistant has a terrible time of using actual correct card sizes (height divided by 50). It places cards really poorly. A lot of custom cards -- though what seems like a bug -- actually return a hard-coded 4 value. Ironically, having a consistent wrong size ends up allowing Home Assistant to position cards much better -- this is probably a Home Assistant bug ๐Ÿคทโ€โ™€๏ธ.

Anyway... I technically shouldn't just hardcode 4, but certainly keeping the size correct presents a bad experience. So, the next best thing is to allow the user to set it if they'd like.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.