WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Commit fc2eebe

Browse files
committed
Update readme with new layout
1 parent 2a75872 commit fc2eebe

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@
44

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

7-
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:
7+
For a look-and-feel as displayed in the screenshot above you'll need to install [lovelace-multiple-entity-row](https://github.com/benct/lovelace-multiple-entity-row) (available on HACS), create a bunch of sensors and then use a configuration similar to this for each sensor:
88

99
``` yaml
10-
- type: custom:fold-entity-row
11-
head:
12-
entity: sensor.coronavirus_hessen
13-
secondary_info: last-changed
14-
entities:
15-
- sensor.coronavirus_hessen_offenbach_landkreis
16-
- sensor.coronavirus_hessen_main_kinzig_kreis
17-
- sensor.coronavirus_hessen_wetteraukreis
18-
- sensor.coronavirus_hessen_frankfurt
10+
- type: custom:multiple-entity-row
11+
entity: sensor.coronavirus_hessen
12+
entities:
13+
- attribute: cases
14+
name: Cases
15+
- attribute: deaths
16+
name: Deaths
17+
- attribute: incidence
18+
name: Incidence
19+
show_state: false
20+
icon: 'mdi:biohazard'
21+
name: Hessen
22+
secondary_info: last-changed
1923
```
2024
2125
## Setup

0 commit comments

Comments
 (0)