From 596f1342e9bc70eb45144973289058dee0b23310 Mon Sep 17 00:00:00 2001 From: Manu <4445816+tr4nt0r@users.noreply.github.com> Date: Wed, 9 Jul 2025 23:15:56 +0200 Subject: [PATCH] Add description of action bring.send_reaction for Bring integration (#37669) --- source/_integrations/bring.markdown | 42 ++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/source/_integrations/bring.markdown b/source/_integrations/bring.markdown index d214b7afe73..3608a479f29 100644 --- a/source/_integrations/bring.markdown +++ b/source/_integrations/bring.markdown @@ -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!