Logbook Card


The Logbook card displays entries from the logbook for specific entities.

Screenshot of the logbook card Screenshot of the Logbook card.

To add the Logbook card to your user interface, click the Lovelace 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 Logbook from the card picker.

Card Settings

Entities

The entities whose logbook entries will show in the card.

Title

The title that shows on the top of the card.

Hours to show

The number of hours in the past that will be tracked 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

This is for if you use YAML mode or prefer to use YAML in the Code Editor in the UI.

Configuration Variables

type string Required

logbook

entities list Required

The entities that will show in the card.

title string (Optional)

Title of the card.

hours_to_show integer (Optional, default: 24)

Number of hours in the past to track. Minimum is 1 hour. Big values can result in delayed rendering, especially if the selected entities have a lot of state changes.

theme string (Optional)

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

Example:

type: logbook
entities:
  - fan.ceiling_fan
  - fan.living_room_fan
  - light.ceiling_lights
hours_to_show: 24