{"id":13586376,"url":"https://github.com/thebino/rki_covid","last_synced_at":"2025-04-07T15:31:47.980Z","repository":{"id":38379081,"uuid":"318801320","full_name":"thebino/rki_covid","owner":"thebino","description":" 🦠 Custom integration for Home Assistant to monitor covid numbers provided by Robert-Koch Institut","archived":true,"fork":false,"pushed_at":"2023-08-31T13:50:05.000Z","size":11162,"stargazers_count":41,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-01T17:07:04.199Z","etag":null,"topics":["automation","custom","hassio","home-assistant","lovelace","sensor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thebino.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-05T13:55:48.000Z","updated_at":"2024-08-01T16:32:35.319Z","dependencies_parsed_at":"2024-08-01T16:42:40.225Z","dependency_job_id":null,"html_url":"https://github.com/thebino/rki_covid","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebino%2Frki_covid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebino%2Frki_covid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebino%2Frki_covid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebino%2Frki_covid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebino","download_url":"https://codeload.github.com/thebino/rki_covid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247679539,"owners_count":20978070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","custom","hassio","home-assistant","lovelace","sensor"],"created_at":"2024-08-01T15:05:31.540Z","updated_at":"2025-04-07T15:31:47.035Z","avatar_url":"https://github.com/thebino.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Robert-Koch Institut COVID Numbers\n\n\n\u003e ⚠️⚠️⚠️\n\u003e \n\u003e This repository has been archived.\n\u003e\n\u003e Due to the lack of interest in current covid numbers and missing contributions, this component is no longer maintained.\n\u003e Feel free to get in contact if you wanna take over the maintenance.\n\n\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\n\n\n[![GitHub contributors](https://img.shields.io/github/contributors/thebino/rki_covid)](https://github.com/thebino/rki_covid/graphs/contributors)\n![Version](https://img.shields.io/github/v/release/thebino/rki_covid)\n[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)\n[![codecov](https://codecov.io/gh/thebino/rki_covid/branch/master/graph/badge.svg)](https://codecov.io/gh/thebino/rki_covid)\n\nThe `rki_covid` component is a Home Assistant custom sensor for monitoring regional covid numbers in Germany.\n\n\n## Table of contents\n* [Installation](#installation)\n  * [Install with HACS](#install-with-hacs)\n  * [Install manually](#install-manually)\n* [Configuration](#configuration)\n  * [Configuration via User interface](#user-interface)\n  * [Configuration via configuration.yaml](#configurationyaml)\n* [Entities](#entities)\n* [Graph](#graph)\n* [Automations](#automations)\n* [Contribution](#contribution)\n\n## Installation\n### Install with HACS (recommended)\n1. Ensure that [HACS](https://community.home-assistant.io/t/custom-component-hacs) is installed.\n2. Search for and install the \"RKI Covid numbers\" integration.\n3. Configure the `rki_covid` sensor.\n4. Restart Home Assistant.\n\n#### Install manually\n1. Download the [latest release](https://github.com/thebino/rki_covid/releases/latest).\n2. Unpack the release and copy the `custom_components/rki_covid` directory\n   into the `\u003cconfig dir\u003e/custom_components` directory of your Home Assistant installation.\n3. Configure the `rki_covid` sensor.\n4. Restart Home Assistant.\n\n\n## Configuration\n\n#### User interface\nOpen the `Configuration` of your Home-Assistant instance and select `Integrations`.\nAdd a new integration, search and select `rki covid`.\nA dialog appears to select a district or state to monitor.\nAfter submitting the dialog, the newly added sensor entity is available.\n\n**Hint:** Repeat the process to add multiple districts or states.\n\n![Configuration via User interface](docs/configuration.gif)\n\n#### Configuration.yaml\nIt is also possible to add districts / states via the `configuration.yaml`.\nOpen your configuration file in an editor.\nAdd a new sensor platform called `rki_covid` and add a list of districts by name.\n\n```yaml\nsensor:\n  - platform: rki_covid\n    districts:\n     - name: 'SK Augsburg'\n     - name: 'SK Berlin Mitte'\n     - name: 'BL Bayern'\n     - name: 'LK München'\n```\n\n**Hint:** You have to validate the configuration (`Configuration \u003e Server Controls \u003e Check configuration`) and restart Home Assistant before the new sensors become available.\n\n\n\n## Entities\n\nEach integration creates multiple entities in the format `sensor.NAME_entity`.\n\n|Sensor  |Type|Description\n|:-----------|:---|:------------\n|`sensor.NAME_count`| number | indicates the confirmed cases.\n|`sensor.NAME_newCases`| number | indicates the new confirmed cases.\n|`sensor.NAME_deaths`| number | indicates the numbers of confirmed death cases.\n|`sensor.NAME_newDeaths`| number | indicates the numbers of new confirmed death cases.\n|`sensor.NAME_recovered`| number | indicates the numbers of confirmed recovery cases.\n|`sensor.NAME_newRecovered`| number | indicates the numbers of new confirmed recovery cases.\n|`sensor.NAME_casesPer100k`| number | indicates cases per 100k.\n|`sensor.NAME_weekIncidence`| number | indicates the week incidence per 100.000 inhabitants.\n\n\n## Graph\nHome-Assistant has built-in cards for graphs wich could be really helpful to display the current count with history.\n\n```yaml\ntype: sensor\ngraph: line\ndetail: 1\nname: 'München '\nentity: sensor.sk_munchen_weekincidence\nhours_to_show: 72\n```\n\n![lovelace_graph.png](docs/lovelace_graph.png)\n\n#### Automations\nFor automations have a look on the [trend](https://www.home-assistant.io/integrations/trend/) platform.\n\n\n## Contribution\nSee [Contribution](CONTRIBUTING.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebino%2Frki_covid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebino%2Frki_covid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebino%2Frki_covid/lists"}