Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Update README with lovelace config example
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Mar 17, 2020
1 parent db8d68c commit 481e94b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@

![Screenshot of an example configuration using the integration](https://raw.githubusercontent.com/foosel/homeassistant-coronavirus-hessen/master/screenshot.png)

For a look-and-feel as displayed in the screenshot above you'll need to install [lovelace-fold-entity-row](https://github.com/thomasloven/lovelace-fold-entity-row) (available on HACS), create a bunch of sensors and then use a configuration similar to this:

``` yaml
- type: custom:fold-entity-row
head:
entity: sensor.coronavirus_hessen
secondary_info: last-changed
entities:
- sensor.coronavirus_hessen_offenbach_landkreis
- sensor.coronavirus_hessen_main_kinzig_kreis
- sensor.coronavirus_hessen_wetteraukreis
- sensor.coronavirus_hessen_frankfurt
```
## Setup
There are two ways to set this up:
Expand Down

0 comments on commit 481e94b

Please sign in to comment.