Picture Card


A very simple card that 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.

navigation_path

(string)(Optional)Path of URL to navigate to.

service

(string)(Optional)The service to call.

service_data

(object)(Optional)The service data.

Examples

Navigate to another view:

- type: picture
  image: /local/home.jpg
  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