Turn camera power on/off
This commit is contained in:
parent
54c9444095
commit
af6f11a50f
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
cctv_on:
|
||||
alias: CCTV on
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- switch.usb_switch_3
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
|
@ -14,6 +18,10 @@ cctv_on:
|
|||
cctv_off:
|
||||
alias: CCTV off
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
- switch.usb_switch_3
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
|
|
Loading…
Reference in a new issue