Update how the ring platform updates it's sensors. (#9993)

* add in ring switch docs

* add support for light

* remove the other platforms to match the smaller pr

* Update ring.markdown

update following p/r
This commit is contained in:
Ross Dargan 2019-08-06 11:35:54 +01:00 committed by Franck Nijhof
parent 66d7f4e126
commit 8bf6bf1874

View File

@ -20,7 +20,7 @@ The `ring` implementation allows you to integrate your [Ring.com](https://ring.c
There is currently support for the following device types within Home Assistant:
- [Binary Sensor](#binary-sensor)
- [Camera](#camera) - downloading and playing Ring video will require a Ring Protect plan.
- [Camera](#camera)
- [Sensor](#sensor)
Currently only doorbells are supported by this sensor.
@ -49,11 +49,16 @@ password:
description: The password for accessing your Ring account.
required: true
type: string
scan_interval:
description: How frequently to query for new video, or current sensor values in seconds
required: false
type: integer
default: 10
{% endconfiguration %}
## Binary Sensor
Once you have enabled the [Ring component](/components/ring), you can start using a binary sensor. Add the following to your `configuration.yaml` file:
Once you have enabled the [Ring integration](/components/ring), you can start using a binary sensor. Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
@ -81,7 +86,7 @@ Currently it supports doorbell, external chimes and stickup cameras.
Please note that downloading and playing Ring video will require a Ring Protect plan.
</div>
Once you have enabled the [Ring component](/components/ring), you can start using the camera platform. Add the following to your `configuration.yaml` file:
Once you have enabled the [Ring integration](/components/ring), you can start using the camera platform. Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
@ -94,11 +99,6 @@ ffmpeg_arguments:
description: Extra options to pass to ffmpeg, e.g., image quality or video filter options.
required: false
type: string
scan_interval:
description: How frequently to query for new video in seconds.
required: false
type: integer
default: 90
{% endconfiguration %}
**Note:** To be able to playback the last capture, it is required to install the `ffmpeg` component. Make sure to follow the steps mentioned at [FFMPEG](/components/ffmpeg/) documentation.
@ -155,7 +155,7 @@ hass.services.call('downloader', 'download_file', data)
## Sensor
Once you have enabled the [Ring component](/components/ring), you can start using the sensor platform. Add the following to your `configuration.yaml` file:
Once you have enabled the [Ring integration](/components/ring), you can start using the sensor platform. Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry