-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentry.tp
113 lines (113 loc) · 2.99 KB
/
entry.tp
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"sdk": 2,
"version": 1,
"name": "TP Tradfri",
"id": "tp_tradfri",
"plugin_start_cmd": "\"%TP_PLUGIN_FOLDER%tp-tradfri\\tp-tradfri.exe\"",
"categories": [
{
"id": "tpt_category_01",
"name": "TP Tradfri",
"actions": [
{
"id": "tpt_action_01",
"prefix": "TP Tradfri",
"name": "Light",
"description": "Toggle/Turn on/Turn off & set brightness of a light",
"type": "communicate",
"tryInline": true,
"format": "Light = {$tpt_light_01$} State = {$tpt_light_state_01$} Brightness = {$tpt_light_brightness_01$} Color = {$tpt_light_color_01$}",
"data": [
{
"id": "tpt_light_01",
"type": "choice",
"label": "Light"
},
{
"id": "tpt_light_state_01",
"type": "choice",
"label": "Light state",
"default": "Toggle",
"valueChoices": [
"Toggle",
"On",
"Off"
]
},
{
"id": "tpt_light_brightness_01",
"type": "choice",
"label": "Light brightness",
"default": "",
"valueChoices": [
"",
"0%",
"10%",
"20%",
"30%",
"40%",
"50%",
"60%",
"70%",
"80%",
"90%",
"100%"
]
},
{
"id": "tpt_light_color_01",
"type": "color",
"label": "Light color"
}
]
},
{
"id": "tpt_action_02",
"prefix": "TP Tradfri",
"name": "Group",
"description": "Turn on/Turn off & set brightness of a group",
"type": "communicate",
"tryInline": true,
"format": "Group = {$tpt_group_01$} State = {$tpt_group_state_01$} Brightness = {$tpt_group_brightness_01$}",
"data": [
{
"id": "tpt_group_01",
"type": "choice",
"label": "Group"
},
{
"id": "tpt_group_state_01",
"type": "choice",
"label": "Group state",
"default": "On",
"valueChoices": [
"On",
"Off"
]
},
{
"id": "tpt_group_brightness_01",
"type": "choice",
"label": "Group brightness",
"default": "",
"valueChoices": [
"",
"0%",
"10%",
"20%",
"30%",
"40%",
"50%",
"60%",
"70%",
"80%",
"90%",
"100%"
]
}
]
}
]
}
]
}