Added example of Arlo service camera.enable_motion_detection (#3107)

This commit is contained in:
Marcelo Moreira de Mello 2017-08-01 15:16:24 -04:00 committed by Fabian Affolter
parent 48727906d7
commit 156edc6cff

View File

@ -32,3 +32,17 @@ Configuration variables:
It is recommended to create a dedicated user on Arlo website to be used within Home Assistant and then share your Arlo cameras.
Finish its configuration by visiting the [Arlo sensor page](/components/sensor.arlo/) or [Arlo camera page](/components/camera.arlo/).
The Arlo component also provides a service to enable/disable the motion detection sensor. The example below enables the motion detection every time the Home Assistant service starts.
```yaml
#automation.yaml
- alias: Enable Arlo upton HA start'
initial_state: 'on'
trigger:
platform: homeassitant
event: start
action:
service: camera.enable_motion_detection
entity_id: camera.arlo_frontdoor
```