A Home Assistant Lovelace sidebar card based on DBuit/sidebar-card, extended with a visual UI editor — no more manual YAML editing!
- All original sidebar-card features preserved
- Visual editor via the Home Assistant card editor (pencil icon)
- Configure title, clock, date, and bottom card through the UI
- YAML configuration still fully supported
- Copy
dist/sidebar-card.jsto your HA/config/www/folder - Add the resource in Lovelace → Resources:
/local/sidebar-card.js - Add to your
ui-lovelace.yaml:sidebar: title: My Home digitalClock: true date: true
Add this repository as a custom repository in HACS.
All options from the original sidebar-card are supported.
Click the pencil icon on any sidebar card to open the visual UI editor:
- Allgemein: Title, digital/analog clock, date, layout options
- Bottom Card: Embed any Lovelace card at the bottom of the sidebar
sidebar:
title: "My Home"
digitalClock: true
digitalClockWithSeconds: false
twelveHourVersion: false
period: false
clock: false
date: true
dateFormat: "DD MMMM"
hideTopMenu: false
hideHassSidebar: false
showTopMenuOnMobile: false
width: 25 # or responsive: { mobile: 0, tablet: 20, desktop: 25 }
breakpoints:
mobile: 768
tablet: 1024
sidebarMenu:
- name: Home
action: navigate
navigation_path: /lovelace/0
icon: mdi:home
- name: Lights
action: navigate
navigation_path: /lovelace/lights
icon: mdi:lightbulb
bottomCard:
type: weather-forecast
cardOptions:
entity: weather.home
cardStyle: |
ha-card { background: transparent; }npm install
npm run build # production build → dist/sidebar-card.js
npm start # watch mode- Original project: DBuit/sidebar-card
- UI Editor extension: dgirod/sidebarcard