mirror of
https://github.com/home-assistant/core.git
synced 2026-02-05 14:55:35 +01:00
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"selector": {
|
|
"send_message_data": {
|
|
"fields": {
|
|
"format": {
|
|
"description": "Format of the message, either 'text' or 'html'.",
|
|
"name": "Message format"
|
|
},
|
|
"images": {
|
|
"description": "One or more image paths to attach to the message.",
|
|
"name": "Images"
|
|
},
|
|
"thread_id": {
|
|
"description": "An optional parent message ID to thread this message under.",
|
|
"name": "Thread ID"
|
|
}
|
|
}
|
|
},
|
|
"send_message_data_format": {
|
|
"options": {
|
|
"html": "HTML",
|
|
"text": "Plain text"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"react": {
|
|
"description": "Sends a reaction to a message.",
|
|
"fields": {
|
|
"message_id": {
|
|
"description": "The ID of the message to react to.",
|
|
"name": "Message ID"
|
|
},
|
|
"reaction": {
|
|
"description": "The reaction to send.",
|
|
"name": "Reaction"
|
|
},
|
|
"room": {
|
|
"description": "The room to send the reaction to.",
|
|
"name": "Room"
|
|
}
|
|
},
|
|
"name": "React"
|
|
},
|
|
"send_message": {
|
|
"description": "Sends message to target room(s).",
|
|
"fields": {
|
|
"data": {
|
|
"description": "Extended information of notification.",
|
|
"name": "Data"
|
|
},
|
|
"message": {
|
|
"description": "The message to be sent.",
|
|
"name": "Message"
|
|
},
|
|
"target": {
|
|
"description": "A list of room(s) to send the message to.",
|
|
"name": "Target"
|
|
}
|
|
},
|
|
"name": "Send message"
|
|
}
|
|
}
|
|
}
|