c0ffeeca7 473d9d3fae
Dashboards: apply sentence style caps (#29890)
* Dashboards: apply sentence-style capitalization

* Apply sentence-style capitalization, apply reuse

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Apply suggestions from code review

* Add substep on dashboard control

* Remove code fence from title

- to focus on the topic of the content, rather than the code itself

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2023-11-18 11:47:45 +01:00

2.1 KiB

type, title, sidebar_label, description
type title sidebar_label description
card Calendar card Calendar The calendar card displays your calendar entities in a month, day and list view

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.

{% include dashboard/edit_dashboard.md %}

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

Card settings

{% configuration_basic %} Title: description: The title displayed at the top of the card. Initial View: description: "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: description: The calendar entities that will be displayed in the card. Theme: description: Name of any loaded theme to be used for this card. For more information about themes, see the frontend documentation. {% endconfiguration_basic %}

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 %} type: required: true description: "calendar" type: string title: required: false description: The title of the card. type: string initial_view: required: false description: "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." type: string entities: required: true description: A list of calendar entities that will be displayed in the card. type: list theme: required: false description: Override the used theme for this card with any loaded theme. For more information about themes, see the frontend documentation. type: string {% endconfiguration %}

Examples

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