Calendar Card


The Calendar card displays your calendar entities in a month, day and list view (7 days).

Screenshot of the 
  calendar card Screenshot of the Calendar card.

To add the Calendar card to your user interface, click the menu (three dots at the top right of the screen) and then Edit Dashboard. Click the Add Card button in the bottom right corner and select from the card picker.

All options for this card can be configured via the user interface.

Card Settings

Title

The title displayed at the top of the card.

Initial View

The view that will show first when the card is loaded onto the page. Options are Month View, Day View, or List (7 days).

Entities

The calendar entities that will be displayed in the card.

Theme

Name of any loaded theme to be used for this card. For more information about themes, see the frontend documentation.

YAML Configuration

The following YAML options are available when you use YAML mode or just prefer to use YAML in the Code Editor in the UI.

Configuration Variables

type string Required

calendar

title string (Optional)

The title of the card.

initial_view string (Optional)

The view that will show first when the card is loaded onto the page. Options are dayGridMonth, dayGridDay, and listWeek. Note that listWeek does show the next 7 days, not a calendar week.

entities list Required

A list of calendar entities that will be displayed in the card.

theme string (Optional)

Override the used theme for this card with any loaded theme. For more information about themes, see the frontend documentation.

Examples

type: calendar
entities:
  - calendar.calendar_1
  - calendar.calendar_2