-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
43 lines (37 loc) · 1.2 KB
/
configuration.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
32
33
34
35
36
37
38
39
40
41
42
43
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
rest_command:
door1_opened:
url: "https://doors.amoses.dev/door1/open"
method: POST
headers:
content-type: "application/json"
payload: '{"door": "door1", "state": "open"}'
content_type: 'application/json; charset=utf-8'
door1_closed:
url: "https://doors.amoses.dev/door1/close"
method: POST
headers:
content-type: "application/json"
payload: '{"door": "door1", "state": "closed"}'
content_type: 'application/json; charset=utf-8'
door2_opened:
url: "https://doors.amoses.dev/door2/open"
method: POST
headers:
content-type: "application/json"
payload: '{"door": "door2", "state": "open"}'
content_type: 'application/json; charset=utf-8'
door2_closed:
url: "https://doors.amoses.dev/door2/close"
method: POST
headers:
content-type: "application/json"
payload: '{"door": "door2", "state": "closed"}'
content_type: 'application/json; charset=utf-8'
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml