docs: Update readme

This commit is contained in:
Adrian Rumpold
2021-07-01 13:16:24 +02:00
parent 6a03aba4e9
commit 28eb982e5e

View File

@@ -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
```