# Ajout selecteur dans l'action Envoyer un message

**URL:** <https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383>\
**Category:** Demandes livrées\
**Tags:** scene\
**Created:** [Juillet 27, 2026, 11:20 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383 "2026-07-27T11:20:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Juillet 27, 2026, 11:20 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383/1 "2026-07-27T11:20:54Z")

</div>

Ajout d’un sélecteur de source (Telegram, SMS Free, WhatsApp…) dans l’action «&nbsp;Envoyer un message&nbsp;».  
Aujourd’hui, on peut dans une scène faire une action «&nbsp;Envoyer un message&nbsp;» mais sans pouvoir choisir la technologie/source d’envoi, surtout si plusieurs intégrations de messagerie ont été installées. Par exemple, Telegram et Free Mobile.

> [@Intégration externe - Free Mobile](https://community.gladysassistant.com/t/integration-externe-free-mobile/10366/11):
>
> Tu peux créer une demande de fonctionnalité ? Je lancerais Claude dessus

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [Août 7, 2026, 5:31 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383/2 "2026-08-07T17:31:42Z")

</div>

@pierre-gilles voilà une PR

> <https://github.com/GladysAssistant/Gladys/pull/2808>
>
> \### Description
> 
> Today the "send message" scene action broadcasts to every mes…saging channel the
> user has configured: a scene meant to send an SMS also sends a Telegram message
> and a Nextcloud Talk message. There was no way to pick a destination.
> 
> This PR adds a channel selector to both \`message.send\` and
> \`message.send-camera\`. The dropdown lists every messaging channel able to
> deliver to a user — Telegram, Nextcloud Talk, CallMeBot (which covers WhatsApp
> and Signal), and external integrations of type \`communication\` such as Free
> Mobile SMS.
> 
> The first option, "All configured services", is the default and maps to an
> action without a \`service\` property, so \*\*existing scenes keep the historical
> broadcast behaviour and are not rewritten\*\*.
> 
> Notable points:
> 
> \- An unknown or non-messaging service name is logged and dropped rather than
> silently falling back to a broadcast the user did not ask for.
> \- \`service.load\` only flagged \`has\_message\_feature\` on services exposing
> \`message.send\`. Send-only channels expose \`sendToUser\` without the reply path,
> so they were never listed as messaging services — Free Mobile SMS did not
> appear in the selector at all. Both interfaces are now accepted.
> \- The new \`GET /api/v1/message\_service\` route lists channels flagged in database
> \*\*and\*\* actually loaded in the state manager, since a flagged but unloaded
> service could not deliver anything. It is mounted outside \`/api/v1/service\`,
> whose \`:service\_name\` route would otherwise have captured it.
> \- A channel whose service is not \`RUNNING\` is shown as unavailable instead of
> failing silently at send time. It stays selectable: a scene can legitimately
> target a service that is temporarily down.
> 
> \### Checklist
> 
> \- \[X\] Tests pass: \`cd server && npm run coverage\` (Codecov requires 100% coverage on changed lines) and Cypress (\`npm run cypress:run\`) if the UI changed
> \- \[X\] Linter and prettier pass on both front and server (\`npm run eslint\`, \`npm run prettier\`)
> \- \[X\] No undocumented breaking change
> 
> \<img width="550" height="305" alt="image" src="https://github.com/user-attachments/assets/198f0fd3-2e77-4173-bc0d-6362a524eca5" /\>
> 
> \<img width="576" height="463" alt="image" src="https://github.com/user-attachments/assets/c82e38a2-9227-4cb7-b3ca-6089b387c00b" /\>
> 
> 
> 
> 
> 
> \## Summary by CodeRabbit
> 
> \* \*\*New Features\*\*
> \* Scene message and camera-message actions can now target a specific messaging service or send through all configured services.
> \* Available services are listed with localized names, availability status, and helpful guidance.
> \* Unavailable or removed services are handled gracefully.
> \* \*\*Localization\*\*
> \* Added English, French, and German translations for service selection and related messaging.
> \* \*\*Bug Fixes\*\*
> \* Improved handling when selected services or message targets are unavailable.
> \* \*\*Tests\*\*
> \* Added coverage for service discovery, targeted delivery, broadcast behavior, and unavailable services.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Août 10, 2026, 8:55 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383/3 "2026-08-10T08:55:50Z")

</div>

@Will_71 Je t’ai fais une review de PR, j’ai mis un commentaire 🙂 Merci pour la PR !

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Août 14, 2026, 3:20 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383/4 "2026-08-14T15:20:17Z")

</div>

Je ferme ce post car la fonctionnalité est disponible dans Gladys Assistant 4.86 :

> [@Gladys 4.86 : la plus grosse release de l’histoire du projet rocket](https://community.gladysassistant.com/t/gladys-4-86-la-plus-grosse-release-de-l-histoire-du-projet/10554):
>
> Salut à tous ! Super heureux de sortir Gladys Assistant 4.86. C’est simple, c’est la plus grosse version depuis le début du projet, avec 68 PR fusionnées en une semaine exploding_head C’est juste incroyable, et ça montre le nouveau rythme qu’on peut tenir avec l’IA. L’objectif est maintenant clair : rattraper et dépasser Home Assistant rocket Je vous parle de ces 68 nouveautés ici : Merci à tous les contributeurs !!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Août 14, 2026, 3:20 UTC](https://community.gladysassistant.com/t/ajout-selecteur-dans-laction-envoyer-un-message/10383/5 "2026-08-14T15:20:20Z")

</div>


