mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +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)
|
||||
sensor:
|
||||
- platform: citybikes
|
||||
radius: 200
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
@ -44,11 +45,11 @@ longitude:
|
||||
default: Defaults to the longitude in your `configuration.yaml` file.
|
||||
type: string
|
||||
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
|
||||
type: integer
|
||||
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
|
||||
type: list
|
||||
{% endconfiguration %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user