-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
31 lines (30 loc) · 942 Bytes
/
scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##########################################################################################
# scripts.yaml
# https://www.home-assistant.io/integrations/script/
##########################################################################################
### livingroom_tv
livingroom_tv:
alias: living room tv
description: Toggles the TV, sound bar, and hdmi switch in the living room
icon: mdi:power
mode: single
sequence:
- service: remote.send_command
data:
entity_id: remote.brd_01_remote
command: power
device: livingroom_tv
entity_id: remote.brd_01_remote
- delay:
milliseconds: 500
- service: remote.send_command
data:
entity_id: remote.brd_01_remote
command: power
device: livingroom_soundbar
entity_id: remote.brd_01_remote
- service: remote.send_command
data:
entity_id: remote.brd_01_remote
command: power
device: livingroom_hdmi_switch