From 28eb982e5e39fb1bf2fa1332ecf0f11c482150b7 Mon Sep 17 00:00:00 2001 From: Adrian Rumpold Date: Thu, 1 Jul 2021 13:16:24 +0200 Subject: [PATCH] docs: Update readme --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9687a05..343add6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,27 @@ # Home Assistant Augsburg COVID-19 Tracker Integration -## Requirements +## Adding to your dashboard -Your system needs to have the `de_DE.utf8` locale installed in order to parse the dates from the scraped web response. +You can add an overview of the current infection numbers to your dashboard using the [multiple-entity-row](https://github.com/benct/lovelace-multiple-entity-row) card: + +```yaml +type: entities +entities: + - type: custom:multiple-entity-row + entity: sensor.coronavirus_augsburg + entities: + - attribute: total_cases + name: Cases + - attribute: num_dead + name: Deaths + - attribute: num_recovered + name: Recovered + - attribute: num_infected + name: Infected + show_state: false + icon: mdi:biohazard + name: COVID-19 + secondary_info: + attribute: incidence + unit: cases/100k +```