Update CityBikes documentation (#25587)

This commit is contained in:
Max R 2023-01-06 04:20:31 -05:00 committed by GitHub
parent df6b923763
commit d72c7bf671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}