From af6f11a50feaec3b434258efb44e238c2d54683f Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 15 Dec 2022 00:33:49 +0100 Subject: [PATCH] Turn camera power on/off --- scripts/11.cctv.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/11.cctv.yaml b/scripts/11.cctv.yaml index bd09b8f..ab4adae 100644 --- a/scripts/11.cctv.yaml +++ b/scripts/11.cctv.yaml @@ -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: