mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update CityBikes documentation (#25587)
This commit is contained in:
parent
df6b923763
commit
d72c7bf671
@ -21,6 +21,7 @@ To enable it, add the following lines to your `configuration.yaml`:
|
|||||||
# Example configuration.yaml entry (using radius)
|
# Example configuration.yaml entry (using radius)
|
||||||
sensor:
|
sensor:
|
||||||
- platform: citybikes
|
- platform: citybikes
|
||||||
|
radius: 200
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -44,11 +45,11 @@ longitude:
|
|||||||
default: Defaults to the longitude in your `configuration.yaml` file.
|
default: Defaults to the longitude in your `configuration.yaml` file.
|
||||||
type: string
|
type: string
|
||||||
radius:
|
radius:
|
||||||
description: 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.
|
description: 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. Either `radius` or `stations` are required.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
stations:
|
stations:
|
||||||
description: 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.
|
description: 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. Either `radius` or `stations` are required.
|
||||||
required: false
|
required: false
|
||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user