Add new service 'snapshot' for camera (#10207)

* Add new service 'snapshot' for camera

* Fix lint

* fix arguments

* Add test and fix bugs

* Fix lint

* Fix typo
This commit is contained in:
Pascal Vizeli authored and GitHub committed 2017-10-29 23:14:26 +01:00
1 parent 690760404b
commit 444b7c5ee7
3 files changed
+114 -17

No files matched your search

+13 -1
View File
@@ -10,8 +10,20 @@ enable_motion_detection:
disable_motion_detection:
description: Disable the motion detection in a camera
fields:
entity_id:
description: Name(s) of entities to disable motion detection
example: 'camera.living_room_camera'
snapshot:
description: Take a snapshot from a camera
fields:
entity_id:
description: Name(s) of entities to disable motion detection
example: 'camera.living_room_camera'
filename:
description: Template of a Filename. Variable is entity_id
example: '/tmp/snapshot_{{ entity_id }}'