Skip to content

Configuration reference ​

This page maps the option groups of the original reference. The original English reference remains relevant for detailed examples.

New In v4.1.0 ​

Version 4.1.0 adds several calendar-related controls:

  • event_type separates appointments with time from all-day appointments.
  • filter_field makes blocklist and allowlist work on title, location or description.
  • replace_field, replace_pattern and replace_with change the displayed text without changing the calendar event itself.
  • allday_expires_at causes all-day appointments in a calendar to expire earlier in the day.
  • days_of_week limits a calendar to working days or weekends.
  • allday_badge, allday_badge_style and allday_badge_color control the new badge display for all-day appointments.

Basic settings ​

optionTypeDefaultDescription
entitiesarrayrequiredList of calendar entities, optionally with own settings per calendar.
viewstringlistLayout: list for days one below the other, column for days next to one another.
start_datestringtodayStart date as YYYY-MM-DD or relative expression like today+7, start_of_week, monday+1w.
days_to_shownumber3Number of days displayed.
event_typestringallAppointment type: all, timed or all_day. Can be set globally or per calendar.
compact_days_to_shownumber-Number of days in compact mode.
compact_events_to_shownumber-Number of appointments in compact mode.
compact_events_complete_daysbooleanfalseShows all appointments for days on which at least one appointment is visible.
show_empty_daysbooleanfalseShow days without appointments. In the column view, true by default.
hide_when_emptybooleanfalseHide card if there are no upcoming appointments.
empty_day_textstringlocalized defaultCustom text for empty days or completely empty cards.
filter_duplicatesbooleanfalseHide duplicate events if title, start, end and location are the same.
split_multiday_eventsbooleanfalseShow multi-day appointments on each affected day. In the column view, true by default.
languagestringSystem, fallback enLanguage of the card texts, automatically recognized by Home Assistant.
columnobjectinherits top-level valuesSpecial display options for view: column.

For column view only ​

optionTypeDefaultDescription
column.day_header_gapstring8pxDistance between day head and first appointment.
column.day_header_separator_widthstring0pxWidth of line under day header.
column.day_header_separator_colorstringvar(--divider-color)Color of the line under the day header.
column.min_day_widthnumber140Smallest column width in pixels.
column.min_days_to_shownumberdays_to_showMinimum number of visible columns.
column.min_days_fallbackstringlistBehavior if there is not enough space: list or cramp.

Options have no effect in the column view ​

These options remain relevant for the list view, but do not work directly in the column view:

date_vertical_alignment, today_indicator_position, compact_events_to_show, compact_days_to_show, compact_events_complete_days, calendar related split_multiday_events.

Calendar related options ​

An entry in entities can only be an entity ID or an object with its own settings.

optionDescription
entityCalendar entity, for example calendar.family.
labelOwn labeling of the calendar.
label_typeControls how the caption is read.
colorCalendar color.
accent_colorAccent color for line and optional backgrounds.
label_icon_colorColor for label/icon.
show_timeShow time for this calendar.
show_locationShow location for this calendar.
location_iconIcon for location information for this calendar, for example mdi:office-building; can override automatic Teams discovery.
show_descriptionShow description for this calendar.
compact_events_to_showCompact limit for this calendar.
blocklistExclude terms or patterns.
allowlistShow only matching terms or patterns.
filter_fieldField for blocklist/allowlist: title, location or description.
replace_fieldText replacement field: title, location or description.
replace_patternRegex pattern to replace or remove in the selected field.
replace_withreplacement text; without replace_pattern the entire field is replaced.
split_multiday_eventsSplit multi-day appointments for this calendar.
event_typeCalendar-related appointment type: all, timed or all_day.
allday_expires_atTime in format HH:MM from which all-day appointments in this calendar are considered past.
days_of_weekLimitation to weekdays or weekends.
optionTypeDefaultDescription
titlestring-Map title, may contain Home Assistant templates.
title_font_sizestring--calendar-card-font-size-titleTitle font size.
title_colorstring--calendar-card-color-titleTitle color.

Layout And Spacing ​

optionTypeDefaultDescription
background_colorstring--ha-card-backgroundBackground color of the card.
accent_colorstring#03a9f4Accent color of the vertical line and optional appointment/all day badges.
vertical_line_widthstring2pxVertical line width.
day_spacingstring10pxDistance between days or columns.
event_spacingstring4pxInner spacing within an appointment.
additional_card_spacingstring0pxAdditional space at the top/bottom of the card.
heightstringautoExact fixed card height.
max_heightstringnoneMaximum card height as content grows.

Week numbers and dividing lines ​

optionTypeDefaultDescription
show_week_numbersstringnullShow week numbers: iso, simple or disabled.
show_current_week_numberbooleantrueShow week number for current/first week.
week_number_font_sizestring12pxWeek number font size.
week_number_colorstringvar(--primary-text-color)Week number text color.
week_number_background_colorstring#03a9f450Week number background color.
first_day_of_weekstringsystemStart of week: monday, sunday or system.
day_separator_widthstring0pxdividing line between days.
day_separator_colorstringvar(--secondary-text-color)Tag separator color.
week_separator_widthstring0pxdividing line between weeks.
week_separator_colorstring#03a9f450Color of the week separator line.
month_separator_widthstring0pxdividing line between months.
month_separator_colorstringvar(--primary-text-color)Color of the month separator line.

Today marker ​

optionTypeDefaultDescription
today_indicatorboolean/stringfalseToday tag: true, dot, pulse, glow, MDI icon, emoji or image path.
today_indicator_positionstring15% 50%Position in CSS format.
today_indicator_colorstring#03a9f4Color of the marking.
today_indicator_sizestring6pxSize of the mark.

Date column ​

optionTypeDefaultDescription
date_vertical_alignmentstringmiddleVertical alignment: top, middle, bottom.
weekday_font_sizestring14pxFont size of the day of the week.
weekday_colorstring--primary-text-colorColor of the day of the week.
day_font_sizestring26pxFont size of the day number.
day_colorstring--primary-text-colorColor of the day number.
show_monthbooleantrueShow month names.
month_font_sizestring12pxFont size of the month.
month_colorstring--primary-text-colormonth color.
weekend_weekday_colorstringinherits weekday_colorWeekday color on weekends.
weekend_day_colorstringinherits day_colorWeekend day number color.
weekend_month_colorstringinherits month_colorMonthly color on the weekend.
today_weekday_colorstringinherits weekend/standardWeekday color for today.
today_day_colorstringinherits weekend/standardDay number color for today.
today_month_colorstringinherits weekend/standardMonthly color for today.

Appointment column ​

optionTypeDefaultDescription
event_background_opacitynumber0Background opacity for appointments with accent color, 0-100.
event_icon_vertical_alignmentstringtopVertical icon orientation: top, middle, bottom.
show_past_eventsbooleanfalseShow appointments that have already ended.
show_countdownbooleanfalseShow countdown to appointment.
show_countdown_alldaybooleantrueShow countdown for all-day appointments too.
show_multiday_allday_timebooleantrueShow time line for all-day appointments lasting several days; it carries the end date information.
allday_badgestringoffFull Day Badge Location: off, title or time.
allday_badge_stylestringsubtleBadge style: subtle, outline, tinted or filled.
allday_badge_colorstringaccentBadge color: accent, text or a CSS color.
show_progress_barbooleanfalseShow progress bar for ongoing appointments.
progress_bar_colorstringvar(--secondary-text-color)Color of the progress bar.
progress_bar_heightstringcalculatedHeight of the progress bar.
progress_bar_widthstringper layoutWidth of progress bar.
empty_day_colorstring--primary-text-colorColor for text on empty days.
event_font_sizestring14pxFont size of the appointment title.
title_max_linesnumber0Maximum lines for appointment titles, 0 = unlimited.
event_colorstring--primary-text-colorColor of the appointment title.
show_timebooleantrueShow appointment time.
show_single_allday_timebooleantrueShow time display for individual all-day appointments.
time_24hbooleanSystemUse 24-hour format.
time_two_digit_hoursbooleanfalseShow hours in double digits.
show_end_timebooleantrueShow end time.
time_icon_sizestring14pxClock icon size.
time_font_sizestring12pxFont size of the time.
time_colorstring--secondary-text-colorcolor of time.
time_max_linesnumber0Maximum lines for time text.
show_locationbooleantrueShow location.
show_location_alldaybooleantrueShow locations even for all-day appointments if show_location is active.
remove_location_countryboolean/stringfalseRemove country names from locations, optionally via regex string.
location_icon_sizestring14pxLocation icon size.
location_font_sizestring12pxFont size of the location.
location_colorstring--secondary-text-colorColor of the place.
location_max_linesnumber0Maximum rows for location.
show_descriptionbooleanfalseShow description.
show_description_alldaybooleantrueShow descriptions even for all-day appointments if show_description is active.
description_icon_sizestring14pxDescription icon size.
description_font_sizestring12pxDescription font size.
description_colorstring--secondary-text-colorColor of description.
description_max_linesnumber0Maximum lines for description.

Weather ​

optionTypeDefaultDescription
weatherobject-Weather configuration.
weather.entitystring-Weather entity for forecasts.
weather.positionstringdatePosition: none, date, event, both.
weather.dateobject-Weather display in the day header.
weather.eventobject-Weather display next to appointments.

weather.date accepted: show_conditions, show_high_temp, show_low_temp, show_uv_index, uv_index_threshold, icon_size, font_size, color.

weather.event accepted: show_conditions, show_temp, show_uv_index, uv_index_threshold, daily_forecast_fallback, max_lines, icon_size, font_size, color.

Actions ​

optionTypeDefaultDescription
tap_actionobjectnoneAction when tapping the card.
hold_actionobjectnoneAction while holding the card.

Depending on the action, action parameters can be:

action, navigation_path, service, service_data, url_path, open_tab.

Cache And Update ​

optionTypeDefaultDescription
refresh_intervalnumber30Minutes between data updates.
refresh_on_navigatebooleantrueReload when switching between dashboard views.