mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Move to Transport category
This commit is contained in:
parent
5aee278ebf
commit
ec731130ef
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "CityBikes API sensor"
|
title: "CityBikes Sensor"
|
||||||
description: "Instructions on how to integrate data from the CityBikes API into Home Assistant."
|
description: "Instructions on how to integrate data from the CityBikes API into Home Assistant."
|
||||||
date: 2017-06-25 14:20
|
date: 2017-06-25 14:20
|
||||||
sidebar: true
|
sidebar: true
|
||||||
@ -8,13 +8,15 @@ comments: false
|
|||||||
sharing: true
|
sharing: true
|
||||||
footer: true
|
footer: true
|
||||||
logo: citybikes.png
|
logo: citybikes.png
|
||||||
ha_category: Sensor
|
ha_category: Transport
|
||||||
ha_release: 0.49
|
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.
|
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`:
|
To enable it, add the following lines to your `configuration.yaml`:
|
||||||
|
|
||||||
```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.
|
- **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.
|
- **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:
|
Additional configuration samples:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user