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

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Mar 15, 2020
1 parent b1ecc23 commit 2327bb2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Coronavirus Hessen

[Home Assistant](https://www.home-assistant.io/) component to scrape the current SARS-CoV-2 data for the German state of Hessen from the [website of the Hessisches Ministerium für Soziales und Integration](https://soziales.hessen.de/gesundheit/infektionsschutz/coronavirus-sars-cov-2/taegliche-uebersicht-der-bestaetigten-sars-cov-2-faelle-hessen).
[Home Assistant](https://www.home-assistant.io/) component to scrape the current SARS-CoV-2 data for the German state of Hessen from the [website of the Hessisches Ministerium für Soziales und Integration](https://soziales.hessen.de/gesundheit/infektionsschutz/coronavirus-sars-cov-2/taegliche-uebersicht-der-bestaetigten-sars-cov-2-faelle-hessen).

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

## Setup

There are two ways to set this up:

#### 1. Using HACS
### 1. Using HACS

Open your HACS Settings and add

Expand All @@ -18,13 +20,13 @@ Then install the "Coronavirus Hessen" integration.

If you use this method, your component will always update to the latest version.

#### 2. Manual
### 2. Manual

Copy the folder `custom_components/coronavirus_hessen` to `<ha_config_dir>/custom_components/`. When you are done you should have `<ha_config_dir>/custom_components/coronavirus_hessen/__init__.py`, `<ha_config_dir>/custom_components/coronavirus_hessen/sensor.py` and so on.

If you use this method then you'll need to keep an eye on this repository to check for updates.

## Configuration:
## Configuration

In Home Assistant:

Expand All @@ -35,6 +37,10 @@ In Home Assistant:
5. Choose the county you wish to monitor (or "Gesamthessen" for all of Hessen)
6. Save

## Services

The integration offers one servce, `coronavirus_hessen.refresh`, which you may use to manually refresh the data from the web. It takes no arguments.

## TODO

* [ ] Find out why the created sensors don't show up in the integration overview
Expand Down

0 comments on commit 2327bb2

Please sign in to comment.