From 481e94bc9f85a972d8c757476056469977c7b3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 17 Mar 2020 11:26:16 +0100 Subject: [PATCH] Update README with lovelace config example --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 37e1fde..84a61b2 100644 --- a/README.md +++ b/README.md @@ -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: