Remove empty lines and trailing spaces (#6978)

Add missing titles and empty lines
Fix variable type and missing defaults
This commit is contained in:
Jorim Tielemans 2018-10-20 12:55:45 +02:00 committed by Fabian Affolter
parent 7eace6c371
commit a52f37c913
35 changed files with 58 additions and 51 deletions

View File

@ -13,5 +13,5 @@ ha_release: 0.36
ha_iot_class: "Local Push"
---
The `bbb_gpio` component is the base for all [BeagleBone Black](https://beagleboard.org/black) related GPIO platforms in Home Assistant. There is no setup needed for the component itself, for the platforms please check their corresponding pages.
The `bbb_gpio` component is the base for all [BeagleBone Black](https://beagleboard.org/black) related GPIO platforms in Home Assistant.
There is no setup needed for the component itself, for the platforms please check their corresponding pages.

View File

@ -13,10 +13,9 @@ ha_release: "0.40"
ha_iot_class: "Local Polling"
---
The `android_ip_webcam` binary sensor platform lets you observe the motion state of [Android IP webcam](https://play.google.com/store/apps/details?id=com.pas.webcam) sensors through Home Assistant.
Devices will be configured automatically. Please refer to the [component](/components/android_ip_webcam/) configuration on how to setup.
Devices will be configured automatically. Please refer to the [Android IP webcam](/components/android_ip_webcam/) configuration on how to setup.
## {% linkable_title Examples %}

View File

@ -13,7 +13,6 @@ ha_iot_class: "Local Polling"
ha_release: 0.9
---
The `arest` binary sensor platform allows you to get all data from your devices (like Arduinos with an ethernet/wifi connection, the ESP8266, and the Raspberry Pi) running the [aREST](http://arest.io/) RESTful framework.
## {% linkable_title Configuration %}

View File

@ -20,4 +20,3 @@ If you have August Doorbell, once you have enabled the [August component](/compo
* Doorbell ding sensor
* Doorbell motion sensor
* Doorbell online sensor

View File

@ -12,7 +12,6 @@ ha_category: Car
ha_release: 0.66
---
The `bmw_connected_drive` binary sensor platform allows you to import data on your BMW into Home Assistant.
The binary sensors will be automatically configured if `bmw_connected_drive` component is configured.

View File

@ -15,7 +15,7 @@ ha_iot_class: "Local Polling"
The `digital_ocean` binary sensor platform allows you to monitor your Digital Ocean droplets.
### {% linkable_title Configuration %}
## {% linkable_title Configuration %}
To use your Digital Ocean droplets, you first have to set up your [Digital Ocean hub](/components/digital_ocean/) and then add the following to your `configuration.yaml` file:
@ -34,4 +34,3 @@ droplets:
required: true
type: list
{% endconfiguration %}

View File

@ -13,7 +13,6 @@ ha_release: "0.44"
ha_iot_class: "Cloud Polling"
---
The `eight_sleep` binary sensor platform lets you observe the presence state of a [Eight Sleep](https://eightsleep.com/) cover/mattress through Home Assistant.
Devices will be configured automatically. Please refer to the [`eight_sleep` component](/components/eight_sleep/) configuration on how to setup.

View File

@ -21,6 +21,8 @@ Tested with:
All switches using theses modules are expected to work. Other devices will most likely not work without changing the Home Assistant code.
## {% linkable_title Configuration %}
To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file:
```yaml
@ -38,8 +40,8 @@ id:
name:
description: An identifier for the switch in the frontend.
required: false
default: EnOcean binary sensor
type: string
default: EnOcean binary sensor
device_class:
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
required: false
@ -53,6 +55,8 @@ EnOcean binary sensors only generate 'button_pressed' events. The event data has
- **which**: Always `0` when using the single rocket. `0` or `1` when using the dual rocket switch.
- **onoff**: `0` or `1` for either side of the rocket.
## {% linkable_title Automation example %}
Sample automation to switch lights on and off:
```yaml

View File

@ -61,6 +61,8 @@ and has been confirmed to work with the following models:
- DS-2CD2142FWD-I
- DS-2CD2155FWD-IS
## {% linkable_title Configuration %}
To enable this sensor,
add the following lines are required in your `configuration.yaml` file:
@ -123,6 +125,8 @@ customize:
default: 5
{% endconfiguration %}
### {% linkable_title Supported types %}
Supported sensor/event types are:
- Motion
@ -142,6 +146,8 @@ Supported sensor/event types are:
- Face Detection
- Scene Change Detection
## {% linkable_title Examples %}
Example of a configuration in your `configuration.yaml`
that utilizes the customize options for a camera:

View File

@ -13,7 +13,6 @@ ha_release: 0.59
ha_iot_class: "Cloud Polling"
---
The `hive` binary sensor component integrates your Hive sensors into Home Assistant.
The platform supports the following Hive products:
@ -21,9 +20,6 @@ The platform supports the following Hive products:
- Hive Window or Door Sensor
- Hive Motion Sensor
<p class='note'>
Full configuration details can be found on the main [Hive component](/components/hive/) page.
</p>

View File

@ -13,7 +13,6 @@ ha_release: 0.23
ha_iot_class: "Local Push"
---
The `homematic` binary sensor platform lets you observe the state changes of binary [Homematic](http://www.homematic.com/) sensors through Home Assistant.
Devices will be configured automatically. Please refer to the [component](/components/homematic/) configuration on how to setup Homematic.

View File

@ -27,6 +27,8 @@ be found in the IHC project and setup as binary sensors:
- Dataline gas detector
- Dataline light sensor
## {% linkable_title Manual configuration %}
To manually configure IHC Binary Sensors
insert this section in your configuration:

View File

@ -21,6 +21,8 @@ This means that ISS is 10° above the horizon of your home.
You can check in the attributes of the sensor to see the timestamp for the next
rise of the station, its current coordinates, and the number of people in space.
## {% linkable_title Configuration %}
To add ISS binary sensor to your installation,
add the following to your `configuration.yaml` file:
@ -31,11 +33,16 @@ binary_sensor:
```
{% configuration %}
name:
description: The name for this sensor in the frontend.
required: false
type: string
default: ISS
show_on_map:
description: Option to show the position of the ISS on the map.
required: optional
type: boolean
default: false
type: string
{% endconfiguration %}
<p class='note warning'>

View File

@ -18,4 +18,3 @@ The `konnected` binary sensor allows you to monitor wired door sensors, window s
See the [`konnected`](/components/konnected/) component for configuration and setup instructions.
This component supports all of the built-in device classes of the generic [Binary Sensor](/components/binary_sensor/) component.

View File

@ -18,4 +18,3 @@ The `mychevy` binary sensor platform allows you to monitor your Chevy Bolt car f
The binary sensor platform will be automatically configured if the `mychevy` component is configured.
For configuration instructions, see the [`mychevy` component](/components/mychevy/) documentation.

View File

@ -13,7 +13,6 @@ ha_iot_class: "Local Polling"
ha_release: 0.45
---
The `mystrom` binary sensor platform allows you to use [myStrom Wifi Buttons](https://mystrom.ch/wifi-button/) with Home Assistant. The myStrom Wifi Buttons support three and the myStrom WiFi Button + four different push pattern:
- `single`: Short push (approx. 1/2 seconds)

View File

@ -13,13 +13,14 @@ ha_release: pre 0.7
ha_iot_class: "Cloud Push"
---
The `nest` binary sensor platform lets you monitor various states of your [Nest](https://nest.com) devices.
<p class='note'>
You must have the [Nest component](/components/nest/) configured to use these sensors. The binary sensors will be setup if the `nest` component is configured and the required configuration for the `nest binary sensor` is set.
</p>
## {% linkable_title Configuration %}
To enable binary sensors and customize which sensors are setup, you can extend the [Nest component](/components/nest/) configuration in your `configuration.yaml` file with the following settings:
```yaml

View File

@ -12,12 +12,12 @@ ha_category: Binary Sensor
ha_release: 0.31
---
### {% linkable_title Basic Configuration %}
The `netatmo` binary sensor platform is consuming the information provided by a
[Netatmo](https://www.netatmo.com) camera.
This component allows you to get the latest event seen by the camera.
### {% linkable_title Basic Configuration %}
To enable the Netatmo binary sensor, you have to set up
[netatmo](/components/netatmo/),
this will use discovery to add your binary sensor.

View File

@ -16,4 +16,3 @@ ha_iot_class: "Cloud Polling"
The `openuv` binary sensor platform allows you to view binary sensor data from [OpenUV](http://openuv.io).
You must have the [`openuv` component](/components/openuv/) configured to use this platform. After configuring that component, binary sensors will automatically appear.

View File

@ -67,6 +67,8 @@ reset_delay_sec:
default: 30
{% endconfiguration %}
## {% linkable_title Full example %}
A full configuration example could look like this:
```yaml

View File

@ -13,7 +13,6 @@ ha_release: 0.43
ha_qa_scale: internal
---
The `ping` binary sensor platform allows you to using `ping` to send ICMP echo requests. This way you can check if a given host is online and determine the round trip times from your Home Assistant instance to that system.
## {% linkable_title Configuration %}
@ -26,6 +25,7 @@ binary_sensor:
- platform: ping
host: 192.168.0.1
```
{% configuration %}
host:
description: The IP address or hostname of the system you want to track.
@ -40,7 +40,7 @@ name:
description: Let you overwrite the name of the device.
required: false
type: string
default: "`Ping Binary sensor`"
default: Ping Binary sensor
{% endconfiguration %}
The sensor exposes the different round trip times values measured by `ping` as attributes:
@ -64,4 +64,3 @@ binary_sensor:
<p class='note'>
When run on Windows systems, the round trip time attributes are rounded to the nearest millisecond and the mdev value is unavailable.
</p>

View File

@ -31,5 +31,5 @@ name:
description: Name to use in the frontend.
required: false
type: string
default: Random Binary Sensor
{% endconfiguration %}

View File

@ -33,6 +33,8 @@ The JSON messages can contain different values like `1`, `"1"`,
}
```
## {% linkable_title Configuration %}
To enable this sensor,
add the following lines to your `configuration.yaml` file for a GET request:

View File

@ -16,6 +16,8 @@ ha_iot_class: "Local Polling"
The `tapsaff` binary sensor provides the 'Taps Aff' status for a given location within the UK using [Taps Aff](http://www.taps-aff.co.uk).
## {% linkable_title Configuration %}
To enable this sensor, add the following lines to your `configuration.yaml`:
```yaml
@ -33,6 +35,6 @@ location:
name:
description: The name to use when displaying this sensor.
required: false
default: Taps Aff
type: string
default: Taps Aff
{% endconfiguration %}

View File

@ -13,4 +13,3 @@ featured: false
---
Integrates Telldus Live binary sensors into Home Assistant. See the [main component](/components/tellduslive/) for configuration instructions.

View File

@ -14,7 +14,6 @@ ha_release: 0.34
ha_qa_scale: internal
---
The `threshold` binary sensor platform observes the state of another sensor. If the value is below (`lower`) or higher (`upper`) than the given threshold then state of the threshold sensor is changed. It support also a range if `lower` and `upper` are given.
If the sensor is configured with no hysteresis and the sensor value is equal to the threshold, the sensor is turned off since it is not `lower` or `upper` with respect to the threshold.
@ -61,6 +60,5 @@ name:
description: Name of the sensor to use in the frontend.
required: false
type: string
default:
default: Threshold
{% endconfiguration %}