github alexpfau/calendar-card-pro v6.2.0

one hour ago

Calendar Card Pro v6.2.0

Each calendar can now keep a place of its own: a column per person in List, a row per person in Columns, a slice of every day in Grid. On a family card everyone's plans used to be mixed together, so following one person through the week meant reading every event. With lanes, Anna's events stay in Anna's lane on every day, even on the days she has nothing on. A calendar can also start hidden in the calendar filter, countdowns can be set for one calendar, and an event under way can say how long it has left.

All of it is yours to turn on but two things, listed under ⚠️ Changes to Existing Cards: with allday_badge: title, a calendar's label now sits inside the all-day pill, and a calendar's color now reaches Grid's banners and the wide Month's bars. The fixes reach every card with nothing to turn on: Grid shows a location wherever it fits, panels over the full-size card scroll again, a phone answers a press once and its search reads clearly, a forecast missing after a restart arrives, and countdowns read correctly in seven more languages.

🎉 New Features

🏊 A Lane for Each Calendar

The Family Hub's week on a wall tablet switching between List, with a column per person beside the dates under Anna's, Ben's and Leo's faces and a Home column, and Columns, with a row per person across the days, each person's events in their own color. Select it to read about lanes in the docs

A family card mixed everyone's events together, and in Grid a calendar's events moved sideways from day to day with whatever else was on. lanes: true gives each calendar a fixed place on every day, in the order of entities: a column beside the dates in List, under a header showing each calendar's label, such as a person's picture; a row across the days in Columns; and a slice of every day's hours in Grid. A calendar keeps its lane on the days it has nothing on, so nothing moves, and a calendar hidden in the calendar filter takes its lane with it. Month draws no lanes. List and Columns draw them in browsers with CSS subgrid, from Chrome 117 and Safari 16, and an older browser draws those layouts without lanes. See Calendar Lanes (Thanks @YvesZH, #203, @haraldkjellevik, #201, and @pjagielski0, #869)

  • One Lane for Several Calendars - Entries with the same lane, such as lane: Home, share one, so a person with a work and a private calendar gets one lane, and the household's own calendars another. See One Lane for Several Calendars
  • Lanes Where They Help - lanes set in a layout's block applies to that layout alone, so a wall card can draw lanes in List and Columns and keep Grid as it was. See Lanes in Some Layouts Only
  • One Ruled Sheet - List and Columns draw their lanes as one sheet: a light band holds the lanes' pictures and names in List and the days' dates in Columns, a light line runs between two lanes the whole way through, and a quiet rule parts the days. lane_separator_width and lane_separator_color set the line between lanes, 0px removing it; day_separator_width: 0px removes the day rule, and any other width draws your own. In a lane, an event's forecast takes a line of its own under the time, so its title keeps the lane's width. See Lines Between Lanes
  • Narrow Cards - min_lane_width, 112px in List and 40px in Grid, is how narrow a lane may get before the card does something about it; Grid's min_days_fallback: cramp keeps its days instead and lets each lane narrow to 2rem. Where List's lanes no longer fit, lanes_fallback: scroll, the default, scrolls them sideways under the dates, and lanes_fallback: list draws the plain list instead, as a phone may want. A Grid block too narrow for its title shows its calendar's label alone, so a face still says whose it is. See How Narrow a Lane May Be
  • Adding in a Lane - With day_tap_action: add-event, a tap in a lane starts the new event on that lane's first calendar that is shown and takes new events. A lane with none starts it on the calendar any other tap would, from elsewhere on the card, and the popover names it before you save. See Adding & Moving Events
  • In the Visual Editor - Calendar Lanes is under Calendars Side by Side on each layout's Event Appearance page, Minimum Lane Width and When Lanes Don't Fit under Narrow Cards and Lane Rule Width and Lane Rule Color under Between Lanes on its Size & Spacing page, and a calendar's Lane on the calendar's own page

💤 A Calendar That Starts Hidden

A calendar whose events drive automations, such as a sprinkler schedule, fills the card with entries nobody needs every day, yet it is the card you reach for when the schedule needs a change. hidden_by_default: true on a calendar starts it hidden in the calendar filter on every device that has not chosen otherwise. Its chip, or its row in the menu, shows it, and the device remembers that, as it remembers any other choice in the filter; a change to the card's configuration, or the reset button, hides it again. It needs the filter to list the calendar. In the visual editor it is Hidden by Default on a calendar's page, under Name & Look. See Starting a Calendar Hidden (Thanks @martinsheldon, #1009)

⏳ Countdowns for One Calendar & Time Left

  • Countdowns for One Calendar - Countdowns were set for the whole card, so a card counting down to bin days counted down to every appointment too. A calendar can now set show_countdown, countdown_max_days, show_countdown_allday, countdown_exact_days and show_time_left for its own events, over its layout's and the card's. In the visual editor they are under Visible Event Parts on the calendar's page. See Countdowns for One Calendar (Thanks @mbrevda, #156)
  • Time Left on a Running Event - The progress bar shows how far an event has come but not how long it has to go. show_time_left: true says so, such as "47 min left", in the place a countdown takes, which an event under way never uses, so with countdowns on as well an event reads "in 2 hours", then "47 min left". In List it ends the time row, with the progress bar beside it; in Columns and Grid it follows the time. It speaks all 39 of the card's languages, and in the visual editor it is the Time Left part on the Event Appearance page. See Time Left on a Running Event (Thanks @martinsheldon, #164)

🏷️ A Calendar's Label Inside the All-Day Pill

An icon beside a pill reads as a mark of its own, apart from the event it belongs to. With allday_badge: title, a calendar's whole label now sits inside the pill, ahead of the title and in the order it is written, the way calendar apps draw all-day events: an icon in a circle at the pill's start, black or white against the circle so it reads in every pill style and color; a picture, a face included, cropped to the same circle at the pill's height; an emoji as the pill's first character; and words a step bolder than the title, so "Leo:" reads as a name rather than as the title's first word. A private event's lock follows the label inside. List and Columns draw this pill; every other row keeps its label before the title. See A Calendar's Label Inside the Pill

📖 The Example Stories, Reviewed

Every Example Story was reviewed against the card's whole feature set. The Family Hub's wall tablet draws a lane per person in List and Columns, with a Home lane for the household's own calendars, while a phone keeps the plain list. Now & Next shows time left and a color per person, Small Card, Big Picture opens Month on the four weeks from this one, Today & Tomorrow gains a tablet variation with a slice per person, House Log one that keeps each job's last time, and Bin Day looks six weeks ahead, so a monthly pickup still shows once today's is gone. Family Agenda is now Hallway Agenda. In Quick Setup, the Family Hub starts with lanes in List and Columns, and Small Card and Now & Next with their new settings. See Example Stories

⚠️ Changes to Existing Cards

  • A Calendar's Label Moves Inside the All-Day Pill - With allday_badge: title, a calendar's label was drawn before the pill and now sits inside it, so label_icon_color and label_image_size no longer reach a label there. A label beside a timed event, or with the pill at off or time, draws as before. See A Calendar's Label Inside the Pill
  • A Calendar's Text Color Reaches Banners & Bars - A calendar's color set its events' titles in rows, Grid's blocks and Month's lines, but not in Grid's banners or the wide Month's bars, so one calendar's events read in two colors depending on how long they ran. Those titles now take it too, mixed toward your theme's text color so they stay readable on the bar's tint. A calendar without color draws as before. See Entity Configuration

🐛 Bug Fixes

Grid View

  • A Block Hid a Location It Had Room For - A block showed its location, description and forecast only from 72px tall, so a 90-minute event hid a location it had room for and a 105-minute one showed it. Each row now shows wherever it fits: a location or description longer than the room left shows as many lines as fit, ending in "…", rather than nothing, and a forecast shows where it fits whole and is left out where it does not. (Thanks @the0duke0, #1084)
  • A One-Hour Event on the Hour Lost Its Time - At an hour_height of 35px or 36px, as the Family Hub uses, a one-hour event that started on the hour showed its title alone, while one starting at a quarter past also showed its time. Both now show it.
  • A Title Sat Against the Row Below It - A scrolling title beside a label, or a title cut at its last whole line, sat as close to its time as one line of the time sits to the next, so the two rows read as one. It now keeps a small gap below it when there is room.
  • A Forecast Broke Its Words in a Narrow Block - An event's forecast in a narrow block broke mid-word, "Par / tly / clo / udy". A word that does not fit is now left out whole, the condition first, so the block keeps its temperature.
  • A Calendar's Name Broke Mid-Word in a Narrow Block - A text label wider than its block broke inside a word, "Davi / d", or with scroll_long_titles in German "Da- / vid". A label now wraps only between words and cuts a word too wide for its line, "Da…", and a scrolling title it leaves no room for scrolls on a line of its own below it rather than not at all.

Month View

  • The Coming Weeks Hid Where a Month Begins on a Phone - With month: start: week, the narrow month named only its first day's month, so four weeks from November 30 read "November 2026" with December 1 drawn as a plain 1. A 1st now carries its month's short name over its number, as the wide month writes "1 Dec".
  • Bars Read Bolder Than the Lines Beside Them - The wide Month drew its bars a step heavier than its event lines. Both now share one weight.
  • A Title Running Against a Right-to-Left Dashboard Lost Its Start - On a Hebrew or Arabic dashboard, an English title cut short in the wide Month's lines and bars, or in Grid's all-day banners, lost its first letters, "…rterly report". It is now cut at its end, where it reads, except on bars with continuation marks, including across Month's week rows, which keep the old cut.

List & Columns

  • Text Ran to the Edge of a Tinted Event - With event_background_opacity set, a title ran to the tint's far edge while its start kept 12px clear, and a scrolling title ran 2px past its card. Both ends now keep the same room, and a tinted day's first and last accent bars are round at their outer ends, as every other bar is.
  • An Emoji Wrapped Onto a Line Alone - "Birthday party for Ben 🎉" could leave the 🎉 alone on the next line. An emoji now stays with the word before it.

The Event Popover

  • Typing With an Input Method Saved the Event Early - In Safari, the Return that confirms a word typed in Japanese, Chinese or any other input method saved the event from its title field, or picked a search result. It now only confirms the word.
  • A Press Was Lost After Tab Showed Close - Once the keyboard had revealed the popover's Close, a mouse press on another control moved it before the press ended, so Delete or Save needed a second press. The first now counts.
  • Escape Twice During a Save Left the Page Stuck - A second Escape while an event was saving closed the popover around the save, and the dashboard stopped scrolling until a reload. The popover now stays open until the save is done.
  • The Keyboard Lost Its Place in the Time Editor - Opening and closing an event's time editor, or a save that failed, dropped the keyboard's focus to the page. It now moves into the time editor, back to the time, and after a failed save to the control that started it.

Phones, Search & Full Size

  • Panels Over the Full-Size Card Didn't Scroll - With the card open full size, a Day Panel, search, an event's details or Home Assistant's own more-info dialog opened over it could not be scrolled by wheel, finger or keys. They scroll again.
  • Two Answers to One Press - On a phone, a press in the Day Panel, an event's details, search, full size or the visual editor showed the browser's gray square highlight over the control's own rounded wash. Each control now answers with its own wash alone, and those that had none, such as Month's "+N more", gain one.
  • Search Was Hard to Read, and ✕ Closed It - The dates and month names in search results were faint, and ✕ closed the whole search when you meant to correct a word. Results now read clearly, ✕ clears the field and leaves you typing, and Close stands beside it. Escape still closes.
  • Search Climbed Over the Toolbar With the Keyboard Up - On a touch screen wide enough for search to open under its magnifier, such as a tablet, the panel moved up to make room above the on-screen keyboard until it covered the card's toolbar, pointing at the app's top bar. It now stays under its magnifier while there is room for a result. Bottom sheets are unchanged.
  • A Sheet's Handle Did Nothing - On a phone, the handle at the top of the Day Panel, search and an event's details now closes it when you drag it down.
  • A Swipe Ended in a Flash - A swipe to a page that loaded at once finished its slide, then dimmed the days to half for a moment before they snapped back. The days now arrive as they are.

Calendars & Weather

  • Two Cards With Start Dates in Capitals Shared Their Events - Two cards on the same calendars with start_date written in capitals, such as Today+7 and Today+14, were cached as one, so a card could draw events loaded for the other's dates. Each now keeps its own.
  • A Forecast Missing After a Restart Stayed Missing - A weather forecast Home Assistant could not give yet, as just after a restart, was never asked for again, so a wall tablet showed no forecast until it was reloaded. The card now asks again for about half an hour.
  • A Filled Pill Went Blank on a See-Through Card - In Chrome before 125 and Safari before 18, a filled all-day pill on a card with a transparent background drew its title, and the all-day badge on its time row, in no color at all. Both now read as they do on an opaque card.

Countdowns

  • Countdowns Read Wrongly in Seven Languages - Countdowns, and the time since a past event, were worded wrongly in Croatian ("za 21 dana"), Lithuanian ("už 2 dienas" for "po 2 dienų") and Chinese ("2 天内", within two days, for "2天后"), and some counts took the wrong form in Icelandic, Latvian, Romanian and Serbian ("eftir 11 dag", "pēc 21 dienām"). Your browser now words them in those languages, wherever it can write the language, so they read "za 21 dan", "po 2 dienų" and "2天后". Every other language reads as before.

Event Limits

  • A Calendar Listed Twice Lost Its Rows After an Edit - Where a calendar is listed more than once, each entry with its own compact_events_to_show, an unrelated edit, such as a new title, made every entry of that calendar share one limit. Each entry now keeps its own.

Visual Editor

  • Quick Setup Gave Editing Back - Applying a starting point dropped allow_event_edit: false and allow_event_delete: false, so a shared screen locked against changes could edit and delete again. They now stay as the card had them, and the review before Apply also names Grid's hours and the layout full size opens in.
  • Settings Misfiled, Dropped or Left Blank - In Stored Settings, Change Here did nothing for a setting the starting layout lacks, such as Countdown on a card starting in Month, and the lines under overlay: were filed as the card's own rather than under Full Size. Split's Review on a Month card left out events outside Grid's hours, Split's By Words offered a Match Against that the calendar's Hide Events Containing decided anyway, and five settings, such as Progress Bar Width, folded to an empty value. Each now says and does what the card does, and Visible Event Parts names the calendars that set a part for themselves, under Set on Calendars.
  • Back From the Code Editor - Returning from the code editor to the visual one left it half awake: a card from before v5 pasted there was not upgraded, the narrow layout stopped following the dialog's width, and the preview showed the layout the card opens in rather than the one being edited. Each now happens as you come back.

Related Issues

  • #203 - A column per person, laying calendars side by side, by @YvesZH, answered by lanes in List, with a row per person in Columns and a slice per person in Grid
  • #201 - A family week view with a row per calendar by @haraldkjellevik, answered by lanes in Columns
  • #869 - Keep each calendar in place in grid view by @pjagielski0, answered by lanes in Grid
  • #1009 - Calendars hidden by default by @martinsheldon, answered by hidden_by_default
  • #156 - Show the countdown only inside a horizon by @mbrevda, which v5.3 answered with countdown_max_days. @mbrevda asked there for countdowns per calendar, which a calendar's own countdown options answer
  • #164 - Show the time remaining on an event in progress by @martinsheldon, answered by show_time_left
  • #1084 - A Grid block's location not shown with room to spare by @the0duke0, fixed for location, description and forecast
  • #131 - An hour-by-hour view with free time by @sundar2012, which Grid view answered in v5.0. Its third point, a column for each calendar or for each filter of one, is answered by lanes in Grid, with lane on several entries of one calendar

Full Changelog: v6.1.1...v6.2.0

Don't miss a new calendar-card-pro release

NewReleases is sending notifications on new releases.