Add support for ring switch platform (#10062)

* Add in support for the switch platform

* ✏️ Tweak
This commit is contained in:
Ross Dargan 2019-08-06 15:53:25 +01:00 committed by Franck Nijhof
parent c0ad45d154
commit 031517c05b

View File

@ -7,6 +7,7 @@ ha_category:
- Binary Sensor
- Camera
- Sensor
- Switch
ha_release: 0.42
ha_iot_class: Cloud Polling
redirect_from:
@ -22,6 +23,7 @@ There is currently support for the following device types within Home Assistant:
- [Binary Sensor](#binary-sensor)
- [Camera](#camera)
- [Sensor](#sensor)
- [Switch](#switch)
Currently only doorbells are supported by this sensor.
@ -186,3 +188,15 @@ monitored_conditions:
{% endconfiguration %}
Currently it supports doorbell, external chimes and stickup cameras.
## Switch
Once you have enabled the [Ring integration](/components/ring), you can start using the switch platform. Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- platform: ring
```
This will add a switch for every camera that supports a siren. Note the siren will only turn on for 30 seconds before automatically turning off.