android_ip_webcam: Fix motion_detect switch description (#13827)

There is no motion_detection but there is motion_detect as per:

grep motion_detect lib/python3.8/site-packages/homeassistant/components/android_ip_webcam/__init
__.py
    "motion_detect": "Motion Detection",
    "motion_detect",

This replaces the switch name with a correct one and adds it to
the config example. The switch is confirmed to work.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
This commit is contained in:
Alexey Kardashevskiy 2020-06-24 19:43:29 +10:00 committed by GitHub
parent c1d974fe41
commit 968d987d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ switches:
description: Control the focus. description: Control the focus.
gps_active: gps_active:
description: Control the GPS. description: Control the GPS.
motion_detection: motion_detect:
description: Control the motion detector. description: Control the motion detector.
night_vision: night_vision:
description: Control the night vision. description: Control the night vision.
@ -151,6 +151,7 @@ android_ip_webcam:
- ffc - ffc
- focus - focus
- gps_active - gps_active
- motion_detect
- night_vision - night_vision
- overlay - overlay
- torch - torch