mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Doc fixes (#6654)
* Doc standart fixes * Update sensor.citybikes.markdown * Update sensor.cpuspeed.markdown * Update sensor.citybikes.markdown * Config standart fixes * Update sensor.swiss_public_transport.markdown * Update sensor.swiss_public_transport.markdown * Update sensor.ted5000.markdown * Update sensor.worldclock.markdown * Update sensor.worxlandroid.markdown
This commit is contained in:
parent
3bf5d2045f
commit
324f9d41d7
@ -30,10 +30,20 @@ sensor:
|
||||
to: STATION_ID
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **from** (*Required*): The ID of the station of the start station.
|
||||
- **to** (*Required*): The ID of the station of the end station.
|
||||
- **name** (*Optional*): The name of the sensor. Defaults to 'Next Departure'.
|
||||
{% configuration %}
|
||||
from:
|
||||
description: The ID of the station of the start station.
|
||||
required: true
|
||||
type: string
|
||||
to:
|
||||
description: The ID of the station of the end station.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: The name of the sensor.
|
||||
required: false
|
||||
type: string
|
||||
default: Next Departure
|
||||
{% endconfiguration %}
|
||||
|
||||
The public timetables are coming from [Swiss public transport](http://transport.opendata.ch).
|
||||
|
@ -24,11 +24,23 @@ sensor:
|
||||
host: 192.168.1.100
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **host** (*Required*): The IP address of your ted gateway.
|
||||
- **port** (*Optional*): The port of your ted gateway. Defaults to 80.
|
||||
- **name** (*Optional*): Name of the ted gateway. Defaults to ted.
|
||||
{% configuration %}
|
||||
host:
|
||||
description: The IP address of your ted gateway.
|
||||
required: true
|
||||
type: string
|
||||
port:
|
||||
description: The port of your ted gateway.
|
||||
required: false
|
||||
type: integer
|
||||
default: 80
|
||||
name:
|
||||
description: Name of the ted gateway.
|
||||
required: false
|
||||
type: string
|
||||
default: ted
|
||||
{% endconfiguration %}
|
||||
|
||||
For each plugged MTU, using an index starting at 1, the platform creates 2 sensors:
|
||||
|
||||
|
@ -26,10 +26,17 @@ sensor:
|
||||
time_zone: America/New_York
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **time_zone** (*Required*): The resource or endpoint that contains the value.
|
||||
- **name** (*Optional*): The name of the sensor, eg. the city. Defaults to 'Worldclock Sensor'.
|
||||
{% configuration %}
|
||||
time_zone:
|
||||
description: The resource or endpoint that contains the value.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: The name of the sensor, eg. the city.
|
||||
required: false
|
||||
type: string
|
||||
default: Worldclock Sensor
|
||||
{% endconfiguration %}
|
||||
|
||||
For valid time zones check the **TZ** column in the [Wikipedia overview](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Or get the full list from the [pytz](https://pypi.python.org/pypi/pytz) module.
|
||||
|
||||
|
@ -25,8 +25,18 @@ sensor:
|
||||
pin: 1234
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **host** (*Required*): The ip address or host name of the mower.
|
||||
- **pin** (*Required*): The pin code for the mower.
|
||||
- **allow_unreachable** (*Optional*): This will allow the mower to be outside of wifi range without raising an error (default: True).
|
||||
{% configuration %}
|
||||
host:
|
||||
description: The ip address or host name of the mower.
|
||||
required: true
|
||||
type: string
|
||||
pin:
|
||||
description: The pin code for the mower.
|
||||
required: true
|
||||
type: integer
|
||||
allow_unreachable:
|
||||
description: This will allow the mower to be outside of wifi range without raising an error.
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
{% endconfiguration %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user