mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Add summary template example to 17track (#15754)
This commit is contained in:
parent
cd064a8353
commit
de62903539
@ -50,3 +50,23 @@ show_delivered:
|
||||
type: boolean
|
||||
default: false
|
||||
{% endconfiguration %}
|
||||
|
||||
## Examples
|
||||
|
||||
### Lovelace summary card
|
||||
|
||||
Use the following templated Markdown card to list all packages in transit along their status:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
type: markdown
|
||||
title: Packages in transit
|
||||
content: >-
|
||||
{% for package in
|
||||
states.sensor.seventeentrack_packages_in_transit.attributes.packages %}
|
||||
|
||||
**{{ package.friendly_name }}:** {{ package.info_text }}
|
||||
|
||||
{% endfor %}
|
||||
```
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user