All Projects → RossMcMillan92 → lovelace-collapsable-cards

RossMcMillan92 / lovelace-collapsable-cards

Licence: other
A custom Lovelace card that hides other cards behind a dropdown toggle

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to lovelace-collapsable-cards

numberbox-card
Replace input_number sliders with plus and minus buttons
Stars: ✭ 61 (-26.51%)
Mutual labels:  lovelace, lovelace-ui, lovelace-card, lovelace-custom-card
MeteoalarmCard
Meteoalarm, Météo-France and DWD severe weather warnings card for Home Assistant Lovelace UI ⛈️
Stars: ✭ 48 (-42.17%)
Mutual labels:  homeassistant, lovelace, lovelace-ui, lovelace-card
tv-card
📺 TV Remote Card
Stars: ✭ 139 (+67.47%)
Mutual labels:  lovelace, lovelace-ui, lovelace-card
alarmo-card
Home Assistant card for controlling the Alarmo component
Stars: ✭ 59 (-28.92%)
Mutual labels:  home, assistant, lovelace
lovelace-rpi-monitor-card
A Raspberry Pi status display Card for Home Assistant Lovelace
Stars: ✭ 102 (+22.89%)
Mutual labels:  homeassistant, lovelace-card, lovelace-custom-card
Scheduler Card
HA Lovelace card for control of scheduler entities
Stars: ✭ 154 (+85.54%)
Mutual labels:  home, assistant, homeassistant
select-list-card
Select List Card displays an input_select entity as a list in lovelace
Stars: ✭ 51 (-38.55%)
Mutual labels:  homeassistant, lovelace, lovelace-custom-card
lovelace-digital-clock
A custom digital clock card for Home Assistant
Stars: ✭ 22 (-73.49%)
Mutual labels:  homeassistant, lovelace, lovelace-card
slider-button-card
A button card with integrated slider
Stars: ✭ 319 (+284.34%)
Mutual labels:  homeassistant, lovelace, lovelace-custom-card
myconfig
My Home Assistant config
Stars: ✭ 143 (+72.29%)
Mutual labels:  assistant, lovelace, lovelace-ui
lovelace-roomba-vacuum-card
HA Lovelace Card for iRobot Roomba Vacuum Cleaner leveraging the rest980 Docker Image
Stars: ✭ 34 (-59.04%)
Mutual labels:  lovelace, lovelace-ui, lovelace-custom-card
Home Assistant EDP Box
Integração das EDP Box com Home Assistant Core
Stars: ✭ 91 (+9.64%)
Mutual labels:  home, assistant, homeassistant
google home timers card
Card for Home Assistant Google Home integration.
Stars: ✭ 29 (-65.06%)
Mutual labels:  lovelace, lovelace-ui, lovelace-custom-card
Hass Custom Alarm
Yet another take on a home assistant custom alarm
Stars: ✭ 213 (+156.63%)
Mutual labels:  home, assistant
Gladys
A privacy-first, open-source home assistant
Stars: ✭ 1,874 (+2157.83%)
Mutual labels:  home, assistant
charger-card
A lovelace card for electrical vehicle (EV) home chargers and charging robots.
Stars: ✭ 57 (-31.33%)
Mutual labels:  homeassistant, lovelace
mini-humidifier
Minimalistic humidifier card for Home Assistant Lovelace UI
Stars: ✭ 129 (+55.42%)
Mutual labels:  lovelace, lovelace-ui
Alarmo
Easy to use alarm system integration for Home Assistant
Stars: ✭ 131 (+57.83%)
Mutual labels:  home, assistant
sun-card
Lovelace card for sun component - Home Assistant
Stars: ✭ 50 (-39.76%)
Mutual labels:  lovelace, lovelace-ui
bootstrap-grid-card
Bootstrap grid in Lovelace UI
Stars: ✭ 25 (-69.88%)
Mutual labels:  homeassistant, lovelace

Collapsable cards

Hide a list of cards behind a dropdown.

collapsable-cards.mov

Big thanks to ofekashery, the author of vertical-stack-in-card, whose code I copied to make this card.

Options

Name Type Default Description
type string custom:collapsable-cards
cards list List of cards
defaultOpen string false Whether the cards should be visible by default. Can also be set to desktop-only to be open by default on desktop and collapsed by default on mobile. Or contain-toggled to open only if there are active entities
title string "Toggle" Dropdown title
buttonStyle string "" CSS overrides for the dropdown toggle button

Installation

HACS

Add this repository via HACS Custom repositories

https://github.com/RossMcMillan92/lovelace-collapsable-cards

(How to add Custom Repositories)

Manually

In-depth tutorial here, otherwise follow these steps:

  1. Install the collapsable-cards card by copying collapsable-cards.js to <config directory>/www/collapsable-cards.js

  2. On your lovelace dashboard

    1. Click options
    2. Edit dashboard
    3. Click Options
    4. Manage resources
    5. Add resource
      • URL: /local/collapsable-cards.js
      • Resource type: JavaScript module
  3. Add a custom card to your dashboard

type: 'custom:collapsable-cards'
title: Office
cards:
  - type: entities
    entities:
      - entity: light.office_desk_led
      - entity: light.office_led_strips
      - entity: sensor.ross_work_laptop_is_on
    show_header_toggle: false
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].