Picture Card


The Picture card allows you to set an image to use for navigation to various paths in your interface or to call a service.

Screenshot of the picture card Screenshot of the picture card.

Configuration Variables

type

(string)(Required)

picture

image

(string)(Required)

The URL of an image. When you want to store images in your Home Assistant installation use the hosting files documentation. After storing your files, use the /local path, for example /local/filename.jpg .

theme

(string)(Optional)

Set to any theme within themes.yaml

tap_action

(map)(Optional)

Action taken on card tap. See action documentation.

hold_action

(map)(Optional)

Action taken on card tap and hold. See action documentation.

double_tap_action

(map)(Optional)

Action taken on card double tap. See action documentation.

Options For Exemptions

Configuration Variables

user

(string)(Required)

User id that can see the view tab.

Examples

Navigate to another view:

type: picture
image: /local/home.jpg
tap_action:
  action: navigate
  navigation_path: /lovelace/home

Check the views setup on how to setup custom IDs.

Toggle entity using a service:

type: picture
image: /local/light.png
service: light.toggle
service_data:
  entity_id: light.ceiling_lights