2022-12-12 19:30:38 +00:00
|
|
|
cctv_on:
|
|
|
|
alias: CCTV on
|
2023-02-07 13:10:00 +00:00
|
|
|
icon: mdi:cctv
|
2022-12-12 19:30:38 +00:00
|
|
|
sequence:
|
2022-12-14 23:33:49 +00:00
|
|
|
- service: switch.turn_on
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- switch.usb_switch_3
|
2022-12-12 19:30:38 +00:00
|
|
|
- service: switch.turn_on
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- switch.living_room_recordings
|
|
|
|
- switch.living_room_snapshots
|
|
|
|
- switch.living_room_detect
|
|
|
|
- switch.hallway_recordings
|
|
|
|
- switch.hallway_snapshots
|
2023-02-05 15:49:34 +00:00
|
|
|
- service: switch.turn_on
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- switch.usb_switch_3
|
2022-12-12 19:30:38 +00:00
|
|
|
|
|
|
|
cctv_off:
|
|
|
|
alias: CCTV off
|
2023-02-07 13:10:00 +00:00
|
|
|
icon: mdi:cctv-off
|
2022-12-12 19:30:38 +00:00
|
|
|
sequence:
|
2022-12-14 23:33:49 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- switch.usb_switch_3
|
2022-12-12 19:30:38 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- switch.living_room_recordings
|
|
|
|
- switch.living_room_snapshots
|
|
|
|
- switch.living_room_detect
|
|
|
|
- switch.hallway_recordings
|
|
|
|
- switch.hallway_snapshots
|
2023-02-07 13:10:00 +00:00
|
|
|
|
|
|
|
cctv_snapshot_all:
|
|
|
|
alias: CCTV snapshot all
|
|
|
|
icon: mdi:cctv
|
|
|
|
sequence:
|
|
|
|
- service: camera.snapshot
|
|
|
|
data:
|
|
|
|
filename: /config/www/cctv/hallway.jpg
|
|
|
|
target:
|
|
|
|
entity_id: camera.hallway
|
|
|
|
- service: camera.snapshot
|
|
|
|
data:
|
|
|
|
filename: /config/www/cctv/living_room.jpg
|
|
|
|
target:
|
|
|
|
entity_id: camera.living_room
|
|
|
|
- service: camera.snapshot
|
|
|
|
data:
|
|
|
|
filename: /config/www/cctv/bedroom.jpg
|
|
|
|
target:
|
|
|
|
entity_id: camera.bedroom
|
|
|
|
- service: camera.snapshot
|
|
|
|
data:
|
|
|
|
filename: /config/www/cctv/3d_printer.jpg
|
|
|
|
target:
|
|
|
|
entity_id: camera.3d_printer
|
|
|
|
- service: camera.snapshot
|
|
|
|
data:
|
|
|
|
filename: /config/www/cctv/balcony.jpg
|
|
|
|
target:
|
|
|
|
entity_id: camera.balcony
|
|
|
|
- service: notify.home_assistant
|
|
|
|
data:
|
|
|
|
message: >
|
|
|
|
All camera snapshot
|
|
|
|
target: [ "1070507369164984372" ]
|
|
|
|
data:
|
|
|
|
images:
|
|
|
|
- "/config/www/cctv/hallway.jpg"
|
|
|
|
- "/config/www/cctv/living_room.jpg"
|
|
|
|
- "/config/www/cctv/bedroom.jpg"
|
|
|
|
- "/config/www/cctv/3d_printer.jpg"
|
|
|
|
- "/config/www/cctv/balcony.jpg"
|