Skip to content

Commit

Permalink
Bump schiene to 0.24 & fix manifest config
Browse files Browse the repository at this point in the history
  • Loading branch information
FaserF committed Sep 8, 2022
1 parent 1732e04 commit d46ff13
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ I will not give much support on this integration! Use it as it is, this is the s

Below is the old Homeassistant documentation taken from [here](https://github.com/home-assistant/home-assistant.io/blob/b38ab5e8bc745e8e751eb27c2c079de8a8e83d5e/source/_integrations/deutsche_bahn.markdown).
---
title: Deutsche Bahn
description: Instructions on how to integrate timetable data for traveling in Germany within Home Assistant.
ha_category:
- title: Deutsche Bahn
- description: Instructions on how to integrate timetable data for traveling in Germany within Home Assistant.
- ha_category:
- Transport
ha_iot_class: Cloud Polling
ha_release: 0.14
ha_domain: deutsche_bahn
ha_platforms:
- ha_iot_class: Cloud Polling
- ha_release: 0.14
- ha_domain: deutsche_bahn
- ha_platforms:
- sensor
ha_integration_type: integration
- ha_integration_type: integration
---

The `deutsche_bahn` sensor will give you the departure time of the next train for the given connection. In case of a delay, the delay is also shown. Additional details are used to inform about, e.g., the type of the train, price, and if it is on time.
Expand Down Expand Up @@ -97,8 +97,6 @@ where `<config>` is your Home Assistant configuration directory.

## Configuration

Go to Configuration -> Integrations and click on "add integration". Then search for Deutsche Bahn

### Configuration Variables
- **from**: Enter your Start location
- **to**: Enter your destination
Expand Down
2 changes: 1 addition & 1 deletion custom_components/deutschebahn/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""The deutsche_bahn component."""
"""The deutschebahn component."""
8 changes: 6 additions & 2 deletions custom_components/deutschebahn/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"domain": "deutschebahn",
"name": "Deutsche Bahn",
"codeowners": [
"@faserf"
],
"config_flow": false,
"documentation": "https://github.com/faserf/ha-deutschebahn#readme",
"issue_tracker": "https://github.com/faserf/ha-deutschebahn/issues",
"requirements": [
"schiene==0.23"
"schiene==0.24"
],
"codeowners": [],
"version": "1.0.0",
"iot_class": "cloud_polling",
"loggers": [
"schiene"
Expand Down

0 comments on commit d46ff13

Please sign in to comment.