Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/smarthomeNG/plugins into…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
aschwith committed Jan 2, 2024
2 parents d9057d4 + f81d767 commit aca74b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
4 changes: 2 additions & 2 deletions mvg_live/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ for result in results:
line_string += '<div style="background-color: #fff; width: 120px; ">%s %s</div></td></tr>' % (datetime.fromtimestamp(result['time']).strftime("%H:%M"),calculated_delay) #calculated_delay)
html_string += line_string
i = i + 1
if i == 7:
break
if i == 7:
break

html_string += '</table>'
sh.general.travel_info.mvg_station.search.result(html_string)
Expand Down
35 changes: 0 additions & 35 deletions mvg_live/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,38 +46,3 @@ plugin_functions:
de: "Name der Haltestelle. Schauen Sie auf der MVG live Webseite nach gültigen Namen."
en: "Name of the stop or station. Visit the MVG live web site to find valid names."

timeoffset:
type: int
description:
de: "Keine Verbindungen in weniger als dieser Zeitdauer anzeigen. Sinnvoll, wenn man einige Minuten von der Haltstelle entfernt ist. Default: 0"
en: "Do not display connections departing sooner than this number of minutes. Useful if you are a couple of minutes away from the stop. Default: 0"

entries:
type: int
description:
de: "Anzahl der Einträge, die geholt werden sollen. Default: 10"
en: "Number of entries to retrieve. Default: 10."

ubahn:
type: bool
description:
de: "Falls 'False', keine U-Bahn Abfahrtzeiten anzeigen. Default: True."
en: "If 'False', do not display U-Bahn (subway) departures. Default: True."

tram:
type: bool
description:
de: "Falls 'False', keine Tram Abfahrtzeiten anzeigen. Default: True."
en: "If 'False', do not display tram departures. Default: True."

bus:
type: bool
description:
de: "Falls 'False', keine Bus Abfahrtzeiten anzeigen. Default: True."
en: "If 'False', do not display bus departures. Default: True."

sbahn:
type: bool
description:
de: "Falls 'False', keine S-Bahn Abfahrtzeiten anzeigen. Default: True."
en: "If 'False', do not display S-Bahn (suburban train) departures. Default: True."

0 comments on commit aca74b7

Please sign in to comment.