Shabbat Card

March 21, 2026 · View on GitHub

Animated Shabbat/Yom Tov status card for Home Assistant with sun-driven sky gradients, a melting candle, progress tracking, and countdown timer.

Prerequisites

Installation

HACS (Custom Repository)

  1. Open HACS in your Home Assistant
  2. Click the three dots menu → Custom repositories
  3. Add this repository URL with category Lovelace
  4. Search for "Shabbat Card" and install
  5. Clear your browser cache

Manual

  1. Download shabbat-card.js from the latest release
  2. Copy to your www/ directory
  3. Add the resource in Settings → Dashboards → Resources:
    • URL: /local/shabbat-card.js
    • Type: JavaScript Module

Configuration

Minimal

type: custom:shabbat-card

Options

OptionTypeDefaultDescription
sizestringlargeCard size preset
previewstringoffPreview mode for testing

Size Presets

SizeDescription
tinySingle-line badge, no icon
compactTwo-column with icon + countdown
smallTwo-column with progress ring
mediumFull layout with times and date
largeFull size with all details

Preview Modes

ModeDescription
offLive data from sensors
shabbat_earlyShabbat just started (sunset)
shabbat_midMiddle of Shabbat (night)
shabbat_lateLate Shabbat (near havdalah)
motzeiMotzei Shabbat
yom_tovYom Tov (Pesach)

Features

  • Sun-driven sky gradients that match the real sky
  • Animated SVG melting candle with wax drips
  • Progress ring showing Shabbat/Yom Tov completion
  • Countdown to candle lighting or havdalah
  • Twinkling stars at night
  • Hebrew status text (שבת שלום, חג שמח, שבוע טוב)
  • Multi-day Yom Tov support
  • Zero-config — auto-discovers Jewish Calendar entities
  • Visual config editor in the dashboard UI

License

MIT