Sean Mooney dad4a22e4f
Add UI setup instructions to Lovelace card pages (#15155)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-10-10 13:55:56 +02:00

1.7 KiB

title, sidebar_label, description
title sidebar_label description
Entity Card Entity The Entity card gives you a quick overview of your entity's state

The Entity card gives you a quick overview of your entity's state.

Screenshot of the entity card Screenshot of the Entity card.

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

{% configuration %} type: required: true description: entity type: string entity: required: true description: Home Assistant entity ID. type: string name: required: false description: Name of Entity type: string default: Entity Name icon: required: false description: Overwrites icon. type: string attribute: required: false description: An attribute associated with the entity type: string unit: required: false description: Unit of Measurement given to data type: string default: "Unit Of Measurement given by entity" theme: required: false description: Set to any theme within themes.yaml type: string footer: required: false description: Footer widget to render. See footer documentation. type: map {% endconfiguration %}

Example

Alternatively, the card can be configured using YAML:

- type: entity
  entity: cover.kitchen_window
- type: entity
  entity: light.bedroom
  attribute: brightness
  unit: '%'
- type: entity
  entity: vacuum.downstairs
  name: Vacuum
  icon: 'mdi:battery'
  attribute: battery_level
  unit: '%'