Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerbranda authored Mar 6, 2024
1 parent 89c80ee commit e109567
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ rbfa:
```
![Example](https://github.com/rgerbranda/rbfa/blob/ef912db0d17b837fed74d85d1c5b003a15997946/images/example.png)

Ranking card
-

- type: markdown
title: Ranking
content: >-
{% set sensor = "sensor.result_281449" %}

{{state_attr(sensor, "Series") }}
-
{% if state_attr(sensor, "Ranking") != None %}
{% for item in state_attr(sensor, "Ranking") %}{{item.position}}. {% if item.id == state_attr(sensor, "TeamID") %}**{{item.team}}**
{% else %}{{item.team}}
{% endif %}
{%- endfor %}
{% endif %}


[![github release](https://img.shields.io/github/v/release/rgerbranda/rbfa?logo=github)](https://github.com/rgerbranda/rbfa/releases)
[![github release date](https://img.shields.io/github/release-date/rgerbranda/rbfa)](https://github.com/rgerbranda/rbfa/releases)

Expand Down

0 comments on commit e109567

Please sign in to comment.