mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Move to Transport category
This commit is contained in:
parent
5aee278ebf
commit
ec731130ef
@ -1,6 +1,6 @@
|
||||
---
|
||||
layout: page
|
||||
title: "CityBikes API sensor"
|
||||
title: "CityBikes Sensor"
|
||||
description: "Instructions on how to integrate data from the CityBikes API into Home Assistant."
|
||||
date: 2017-06-25 14:20
|
||||
sidebar: true
|
||||
@ -8,13 +8,15 @@ comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: citybikes.png
|
||||
ha_category: Sensor
|
||||
ha_category: Transport
|
||||
ha_release: 0.49
|
||||
---
|
||||
|
||||
|
||||
The `citybikes` sensor platform monitors bike availability at bike sharing stations in a chosen area. The data is provided by [CityBikes](https://citybik.es/#about), which supports bike sharing systems all around the world.
|
||||
|
||||
## {% linkable_title Configuration %}
|
||||
|
||||
To enable it, add the following lines to your `configuration.yaml`:
|
||||
|
||||
```yaml
|
||||
@ -33,6 +35,8 @@ Configuration options:
|
||||
- **radius** (*Optional*): The radius (in meters or feet, depending on the Home Assistant configuration) around the monitored location. Only stations closer than this distance will be monitored.
|
||||
- **stations** array (*Optional*): A list of specific stations to monitor. The list should contain station `ID`s or `UID`s, which can be obtained from the CityBikes API.
|
||||
|
||||
## {% linkable_title Example %}
|
||||
|
||||
Additional configuration samples:
|
||||
|
||||
```yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user