Skip to content
Projetos

alexpfau/calendar-card-pro

Ver no GitHub

Sobre

📅 Um cartão de calendário elegante e altamente personalizável para o Home Assistant, desenvolvido para oferecer alto desempenho e um visual moderno e limpo.

Produtividade e automação

Como estes números são medidos

O que você pode fazer

  • 🗓️ Four Layouts – An agenda, the days side by side, hour by hour, or the whole month.
  • 🧰 A Toolbar on the Card – Page through the dates, switch layouts and show or hide calendars.
  • ✏️ Add & Edit Events – Right on the card, in its own event popover, as far as each calendar allows.
  • ✅ Many Calendars, One Card – Each with its own color, label or a person's photo, and its own filters.

Crescimento medido de estrelas

em 24 h
+2
em 7 dias
+13
em 15 dias
+45
em 1 mês
+76

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Calendar Card Pro for Home Assistant

hacs GitHub Release Downloads Downloads@latest

Calendar Card Pro for Home Assistant: a family's week in grid view, under a toolbar with a layout switcher and a chip for each calendar

A calendar card for Home Assistant in four layouts, from a few lines on a phone to the whole family's week on a wall tablet, set up in the visual editor.

☕ Support This Project

If you find Calendar Card Pro useful, consider supporting its development:

Buy Me a Coffee GitHub Sponsors

 

🗓️ Every Layout, One Card

The same calendars in every layout. Pick one, or let the toolbar switch between them.

📱 On a Narrow Card

One column of a Sections dashboard, or a phone.

A narrow list card for Wednesday, October 21: Ben's business trip and the compost collection all day, Anna at the office now, Leo's nap at 12:30 and coffee with Jana at 16:00, each with the face of whose it is
List · what is next, in a few lines
The same card with its toolbar: a layout switcher, then October 2026 with arrows and a home button, and Wednesday and Thursday listed beneath, each date with its forecast
List with the toolbar · page through the days
The same narrow card as a grid: Wednesday and Thursday against the hours from 7 to 22, all-day plans above them, each event as long as it runs and a line at the current time
Grid · the day on an hour axis
The same narrow card as a month: six weeks with a colored stripe for each calendar on every day, today highlighted, and Wednesday's six events listed beneath
Month · the month, and the day beneath
The narrow card in use: it pages two days ahead and back to today, switches from List to Grid and to Month, picks Friday to list its events under the month, and goes back to List

🖥️ On a Wide Card

Two columns, a full-width section or a wall tablet.

Columns on a card two sections wide: Wednesday to Saturday side by side under the toolbar, each day's events in a column under its date and forecast
Columns · the days side by side

A wide grid: the family's week from Wednesday to Tuesday on an hour axis, a chip for each calendar in the toolbar, all-day plans such as Tom's birthday above the hours, and shared plans in gold with every face on them
Grid · a family's week, hour by hour

A wide month: October 2026 in six weeks, multi-day plans such as a business trip and a weekend at the lake as bars across the days, the rest as lines with their time, and +N more where a day is full
Month · six weeks at a glance

Watch the tour: the same card on a phone and on a wall tablet, paging, switching layouts, opening an event and hiding calendars

▶️ Watch the 30-second tour on the documentation site.

⬆️ back to top

🎬 Video Review

Watch the v5 video review on YouTube

Smart-Live has the exclusive first video review of v5, in German: Calendar Card Pro 5: Endlich ZEITRASTER für deinen Familienkalender in Home Assistant

 

📖 Documentation

Read the Documentation

Every option, feature and worked example lives on the searchable documentation site.

 

1️⃣ Overview

🔍 About

Calendar Card Pro was inspired by a beautiful calendar design using button-card and Hass calendar add-on shared in the Home Assistant community. While the original design was visually stunning, implementing it with button-card and card-mod led to performance issues.

This motivated me to build a dedicated calendar card, fast by design. It has since grown from an event list into a calendar you can work with right on the dashboard.

✨ Features

🔗 Requirements

Calendar Card Pro needs at least one calendar entity in Home Assistant, from any integration that creates calendar.* entities, such as Local Calendar, Google Calendar or CalDAV. Whether you can add, edit and delete events from the card depends on the calendar's integration and on the event itself; Editing & Deleting Events has the details.

⬆️ back to top

2️⃣ Installation

🛒 Marketplace Installation (Recommended)

From Home Assistant 2026.11, HACS ships with Home Assistant as the Marketplace.

  1. Open Settings → Marketplace and search for Calendar Card Pro.
  2. Open it and select Install.
  3. Reload Home Assistant in your browser, and clear the browser cache if an older version still shows.

Coming from v5? Read Upgrading & Going Back first.

📦 HACS Installation

On Home Assistant 2026.10 or earlier, install the card through HACS (Home Assistant Community Store). It is listed in the HACS default repositories, so there is no custom repository to add.

Open in HACS

Steps:

  1. Ensure HACS is installed in Home Assistant.
  2. Open HACS and search for Calendar Card Pro, or use the button above.
  3. Open it and select Download.
  4. Reload Home Assistant in your browser, and clear the browser cache if an older version still shows.

📂 Manual Installation

📖 Click to expand manual installation instructions

Steps:

  1. Download both files from the latest release:
    👉 calendar-card-pro.js and editor.js

    If you use the visual editor in German, Estonian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Polish, Slovak or Swedish, also download that language's file from the latest release, such as editor-de.js for German. In any other language the editor is in English.

  2. Put the files into a folder of their own: in the folder that holds configuration.yaml, create www/calendar-card-pro/ and copy them there. If you just created www, restart Home Assistant once; it serves that folder only if it was there at startup.

    The card is calendar-card-pro.js, and its visual editor is editor.js, plus a file per editor language. All of them must sit in the same folder, and calendar-card-pro.js is the only one you name as a resource — the card loads the editor itself, when you open it, and the editor loads its language. Without a language's file the editor opens in English. Use a subfolder rather than /config/www/ directly: that folder is shared by every hand-installed card, and editor.js is a common enough name that another file can take it. The Marketplace and HACS do all of this for you, which is why they are the recommended route.

  3. Add the resource: open Settings → Dashboards, choose Resources in the ⋮ menu at the top right, then Add resource. Enter the URL /local/calendar-card-pro/calendar-card-pro.js and choose JavaScript module.

    If your resources are in YAML (resource_mode: yaml), list it there instead:

    url: /local/calendar-card-pro/calendar-card-pro.js
    type: module
    
  4. Refresh your browser. After a later update, clear its cache as well, or the old version can stay loaded.

⬆️ back to top

3️⃣ Add the Card

Add the card from your dashboard's ➕ Add Card picker: on the By card tab, search for "Calendar" and pick Calendar Card Pro. Its visual editor opens with Quick Setup, which asks a few questions and builds one of the Example Stories on your own calendars. To change the card later, edit the dashboard and choose the card's Edit.

Home Assistant's card editor with Quick Setup open: example cards to start from, and the preview beside it drawing the one picked

Shortcut (Home Assistant 2026.6+): In the card picker, on the By entity tab, pick any calendar.* entity. Calendar Card Pro is offered under Community, already pointed at that calendar and previewed with its real events, and goes straight on the dashboard.

📄 Prefer YAML? A complete, working configuration
type: custom:calendar-card-pro
entities:
  - calendar.family
days_to_show: 3
show_location: false
show_month: false
tap_action:
  action: overlay

Swap calendar.family for one of your own calendar.* entities and you have a working card.

➡️ Next, copy a complete card from the Example Stories, or look up any option in the Configuration reference.

⬆️ back to top

4️⃣ What's New

➡️ View the Full Release Notes for a complete list of features.

Latest Release: v6.1

  • 🖥️ The Card, Full Size: tap_action: { action: overlay } or the toolbar's Open Full Size button opens a small card full size over the dashboard, in Grid on a week where it fits, with every layout a press away
  • ⏩ Month Shows the Coming Weeks: month: { start: week } starts Month on this week rather than the week of the 1st, for as many weeks as you choose
  • 📏 A Height for a Compact List: compact_card_height keeps a folded list card at a size of its own, and lets it fill the screen once expanded
  • 🏷️ Larger Pictures & Labels of Several Parts: label_image_size draws a face larger, and label as a list puts a face and an icon before one event
  • 👆 A Tap on a Day Runs Your Own Action: day_tap_action takes Home Assistant's own actions, with the day you tapped filled in. ⚠️ A day_tap_action that already held one now runs it
  • 🐛 Taps & the Event Popover: v6.1.1 keeps a tap that opens the card full size on a touch screen from opening an event as well, and makes Add and Save in the event popover answer the first press

v6.0

A wide Month card for October 2026: six weeks, a vacation, a business trip and a weekend at the lake as bars across their days, the rest as lines with their start time, and +3 more where a day is full

  • 📅 Month View: view: month lays the card out as a wall calendar, six weeks with every event on its day, and on a phone draws a narrow month with the chosen day's events underneath
  • ✏️ A Rebuilt Visual Editor: An overview of the card with pages for each layout, every setting in words, search across all of them, Pick From Preview, and Undo & Redo
  • 🔒 Private Calendars: private: true shows when a calendar's events are, and nothing they say
  • 🌦️ Weather & Height Per Layout: One weather_entity with each layout choosing where it shows the forecast, and one card_height for the whole card in every layout
  • 🕓 Events That Start at Certain Hours: starts_after and starts_before keep only a calendar's timed events that start within those hours
  • ⚠️ A Tap on an Event Opens It: In every layout, and the popover shows a location or description a calendar hides; private: true keeps them off the card, event_tap_action: { action: none } keeps a card as it was, and Upgrading & Going Back lists every change to existing cards
  • 🐛 Muted Colors Keep Their Hue in Chrome & Edge: Text in a muted calendar color, as grid view draws its events, the all-day badge's wash and a muted today tile no longer turn pink or mauve there

v5.3

One Family card as two people see it: signed in as Anna, her working from home, Leo's afternoon at Grandma's and the family dinner; signed in as Ben, his business trip on Day 3 of 3, his work, Leo's afternoon, his train home and the family dinner, each event with its length after its time

  • 👥 Each Calendar for the Right People: visibility on a calendar shows it only while Home Assistant's own conditions hold, so one card can show each person their own calendars
  • 📜 Calendars Kept as Logs: With show_countdown on, a finished event says how long ago it ended, event_order: latest_first puts the newest entry on top, and the House Log story puts the two together
  • ⏳ Countdowns That Say What You Need: Count in days, only as an event draws near and once per day, and show_duration says how long each event lasts
  • 🔉 A Quieter Calendar: text_scale draws one calendar's events smaller, and show_weather: false leaves the weather out beside them
  • ⚠️ Long Events Drawn for How Long They Are: An event that runs a full day or longer into a second date no longer shows "Now" and reads "Day 2 of 3" with show_progress_bar on, and grid view draws a long timed one as one banner above the hours by default; the release notes list every change to existing cards
  • 🐛 Event Text Is Back on Older iPhones & iPads: Since v5.2, Safari 15.4 to 16.x drew the dates but no event text, in every view; it draws it again, on every supported browser
  • 🐛 A Restart No Longer Freezes the Dashboard: A card taking its colors from Home Assistant could freeze the browser tab for good when it appeared while Home Assistant was restarting; it now waits and tries again

v5.2

Home Assistant's card editor with Quick Setup open on its first step: five stories to start from, Family Hub picked, and the preview beside it already drawing the Hub card
  • 🪄 Quick Setup: Start a card from an Example Story on your own calendars by answering a few questions, and Essentials Only cuts the editor down to the settings most cards need
  • 👁️ A Calendar Filter That Does More: Show all and Hide all head the filter's menu, and show_in_legend: false leaves a calendar out of it
  • ⚠️ Titles Beside the Time Wrap: A long title beside the time (time_position: title) now wraps instead of scrolling; title_max_lines: 1 keeps it on one line
  • 🐛 Dates & Scripts in Every Language: The end of a multi-day event reads the way each language writes a date, which changes it in 36 of the card's 38 languages, and Thai, Vietnamese and other scripts no longer lose the marks above and below their letters in events, chips and the month
  • 🐛 Older iPhones & iPads: Safari 16.4 and 16.5 no longer crash on a tinted event, and Safari before 16.2 draws the colors it had lost; Browser Support says which versions run the card

Older releases are covered in the Full Release Notes.

⬆️ back to top

5️⃣ Contributing

Want to improve Calendar Card Pro? Contributions of all kinds are welcome, from bug fixes and translations to new features. Pull requests go against the dev branch.

🏆 Acknowledgments

Calendar Card Pro is released under the MIT License. Full third-party attributions, including Home Assistant's Tile Card and Google's Material ripple, are listed in NOTICE.

⬆️ back to top

Explore projetos relacionados

Carregando…