Add description of action bring.send_reaction for Bring integration (#37669)

This commit is contained in:
Manu 2025-07-09 23:15:56 +02:00 committed by GitHub
parent c6775c1b25
commit 596f1342e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,7 +97,7 @@ If you want to receive these notifications, you must use a dedicated account, as
| `message` | no | Type of push notification to send to list members. See [Notification types](#available-notification-types). |
| `item` | yes | Required for `urgent_message`. Item to include in the message. For example: *Attention! Attention! - We still urgently need: Cilantro*. |
### Available notification types
#### Available notification types
| Notification type | Name of notification |
| ------------------- | -------------------------------------------------------------- |
@ -117,7 +117,9 @@ The notification that list members receive differs from the label shown in the B
{% endnote %}
### Sending a going shopping notification
{% details "Example YAML configuration" %}
#### Sending a going shopping notification
```yaml
...
@ -129,7 +131,7 @@ actions:
message: going_shopping
```
### Sending an urgent message notification
#### Sending an urgent message notification
Note that for the notification type `urgent_message` the attribute `item` is **required**.
@ -144,6 +146,40 @@ actions:
item: Cilantro
```
{% enddetails %}
### Action: Send reaction
Reactions in **Bring!** let users quickly acknowledge shopping list updates with emojis. The action `bring.send_reaction` in Home Assistant allows sending reactions like 👍 or ❤️ to the latest event from the [Activities entity](#events).
| Data attribute | Optional | Description |
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------ |
| `entity_id` | no | The Bring! Activities entity to react to its latest activity. For example, event.shopping_list_activities. |
| `reaction` | no | Reaction to send in response to an activity by a list member. |
#### Available reactions
| Reaction | Emoji |
|------------|-------|
| `THUMBS_UP`| 👍🏼 |
| `MONOCLE` | 🧐 |
| `DROOLING` | 🤤 |
| `HEART` | ❤️ |
{% details "Example YAML configuration" %}
```yaml
...
actions:
- action: bring.send_reaction
data:
reaction: HEART
target:
entity_id: event.shoppinglist_activities
```
{% enddetails %}
## Automations
Get started with these automation examples for **Bring!**, each featuring ready-to-use blueprints!