Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
/ lovelace-list-card Public archive

Custom card for Lovelace UI (Home Assistant)

Notifications You must be signed in to change notification settings

hampusn/lovelace-list-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lovelace List Card

Custom card for Home Assistant's Lovelace UI. Lists values from an entity's state or an attribute.

Options

Option Type Default Description
entity String null The entity to get data from. When passing only an entity name such as sensor.SENSOR_NAME, the state value will be used. To use an entity's attribute instead, try sensor.SENSOR_NAME.attributes.ATTRIBUTE_NAME.
from_format String 'json' If the entity's value is a string. json will try to parse the string to JSON, any other string value will be seen as a separator and will be used to split the entity's value into an array.
max_num_items Integer 100 The maximum number of items to print.
item_template String null Underscore template used for each item. The data is accessed through variable item. Requires Underscore.JS to use. Read more under item_template.
title String '' The card's header title.
show_last_updated Boolean true Shows a date when the entity was last updated in the lower part of the card.
extra_css String '' Can be used to add extra styling. The styling is scoped to the custom element.

item_template

...

About

Custom card for Lovelace UI (Home Assistant)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published