-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.yaml
50 lines (44 loc) · 1.36 KB
/
commands.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
44
45
46
47
48
49
50
commands:
- name: Boiler on
text: turn boiler on
type: mqtt
topic: voicy/boiler
payload: "on"
- name: Send Post Request with data and headers
text: test post with data and headers
type: post
url: https://webhook.site/0410c31b-5d90-4361-ae0a-1af846efe852
data:
id: 1001
name: geek
passion: coding
headers:
Content-Type: application/json; charset=utf-8
User-Agent: My User Agent 1.0
Authorization: Bearer ABCDEFGH
- name: Send Post Request with data
text: Send Post Request with data
type: post
url: https://webhook.site/0410c31b-5d90-4361-ae0a-1af846efe852
data:
id: 1001
name: geek
passion: coding
- name: Send Post Request with headers only
text: Send Post Request with headers only
type: post
url: https://webhook.site/0410c31b-5d90-4361-ae0a-1af846efe852
headers:
Content-Type: application/json; charset=utf-8
User-Agent: My User Agent 1.0
- name: Set sunset #Home Assistant rest api call to change entity state
text: set sunset
type: post
url: http://xxx.xxx.xxx.xxx:8123/api/states/sun.sun
data:
state: below_horizon
last_changed: 2022-10-08T11:43:29.204838+00:00
last_updated: 2022-10-08T11:43:29.204838+00:00
headers:
Content-Type: application/json
Authorization: Bearer 1A2B3C4D12345