Skip to content

Commit 0e126a7

Browse files
committed
docs: Move service data to translations
1 parent 8c04d9e commit 0e126a7

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed
-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
trigger:
2-
name: Trigger a Node-RED Node
3-
description: >
4-
Trigger a Node-RED node.
52
target:
63
entity:
74
integration: nodered
85
domain: switch
96
fields:
107
output_path:
118
default: "0"
12-
description: Comma separated list of paths to send the message to. Zero is used to send the message to all paths.
139
example: "1,2"
1410
selector:
1511
text:
1612
message:
17-
description: The message object that will be sent to the next node.
1813
selector:
1914
object:
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
{
22
"config": {
3+
"abort": {
4+
"single_instance_allowed": "Already configured. Only a single configuration possible."
5+
},
36
"step": {
47
"user": {
58
"description": "Do you want to add Node-RED Companion to Home Assistant?"
69
}
7-
},
8-
"abort": {
9-
"single_instance_allowed": "Already configured. Only a single configuration possible."
10+
}
11+
},
12+
"services": {
13+
"trigger": {
14+
"description": "Send a message to a Node-RED flow that has been exposed to Home Assistant.",
15+
"fields": {
16+
"message": {
17+
"description": "The message object that will be sent to the next node.",
18+
"name": "Message"
19+
},
20+
"output_path": {
21+
"description": "Comma separated list of paths to send the message to. Zero is used to send the message to all paths.",
22+
"name": "Output Path"
23+
}
24+
},
25+
"name": "Trigger a Node-RED flow"
1026
}
1127
}
1228
}

0 commit comments

Comments
 (0)