mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-02 23:54:25 +00:00
32 lines
967 B
YAML
32 lines
967 B
YAML
security_camera_on:
|
|
alias: Security Camera - Turn on
|
|
sequence:
|
|
- service: camera.turn_on
|
|
entity_id: camera.amcrest_camera
|
|
- service: amcrest.goto_preset
|
|
entity_id: camera.amcrest_camera
|
|
data:
|
|
preset: 1
|
|
- service: amcrest.enable_motion_recording
|
|
entity_id: camera.amcrest_camera
|
|
- service: amcrest.enable_recording
|
|
entity_id: camera.amcrest_camera
|
|
- service: amcrest.enable_audio
|
|
entity_id: camera.amcrest_camera
|
|
|
|
security_camera_off:
|
|
alias: Security Camera - Turn off
|
|
sequence:
|
|
- service: amcrest.goto_preset
|
|
entity_id: camera.amcrest_camera
|
|
data:
|
|
preset: 3
|
|
- service: amcrest.disable_motion_recording
|
|
entity_id: camera.amcrest_camera
|
|
- service: amcrest.disable_recording
|
|
entity_id: camera.amcrest_camera
|
|
- service: amcrest.disable_audio
|
|
entity_id: camera.amcrest_camera
|
|
- service: camera.turn_off
|
|
entity_id: camera.amcrest_camera
|