mutmut
September 23, 2026, 8:39pm
1
To call a variable after an action Get the last state, you need to put 2 curly braces and a space to see these variables: {{
Unfortunately, the explanatory text is not explicit enough and some users (including myself at the beginning) may not be able to do it.
It would be better to have the {{ in formatted text, without the apostrophes or to write in full: 2 curly braces and a space.
Thanks for your feedback @mutmut , youâre absolutely right!
Looking at the code, the issue isnât really with the help text: itâs the field that doesnât behave as advertised. The variable list should open as soon as you type {{, but today it waits for an extra character. It works with a space, but also with any letter: for example, {{temp directly opens the filtered list of variables containing âtempâ.
Rather than rewriting the help to describe this odd behavior, weâre going to fix the field: youâll just need to type {{ to see the list, as the text already says. The fix will apply to all scene fields that accept variables (messages, MQTT, HTTP requests, calculations, conditionsâŠ).
Iâve opened an issue on GitHub: #3356
In the meantime, youâll need to type {{ then a space, or the beginning of the variable name
Hi everyone!
This topic is now in development .
A PR has been opened to open the list of variables as soon as you type {{:
master â fix/scene-variables-dropdown-on-double-brace
opened 09:05AM - 13 Nov 26 UTC
### Description
In every scene field that accepts variables (message, MQTT, HTT⊠P request, calculated values, "Only continue if" conditions, set variable, external integration actionsâŠ), the help text says *"To inject a variable, type '{{'"*, but typing `{{` alone showed nothing: the list of variables only appeared once a third character was typed.
**Root cause:** `front/src/components/scene/TextWithVariablesInjected.jsx` configured Tagify with `dropdown.enabled: 1`. In mix mode, Tagify 4.5.0 shows the suggestions only when `state.tag.value.length >= dropdown.enabled`, where `state.tag.value` is the text typed **after** the pattern (`{{`). With `1`, `{{` alone (value `""`) never opened the list.
**Fix:** `dropdown.enabled: 0`. This one line fixes every field using the component, and the existing help text becomes accurate without any translation change. In mix mode Tagify never opens the dropdown on focus or on click (both paths are guarded by `mode != "mix"`), so focusing a field, typing plain text or a JSON payload (`{"a": 1`) still shows nothing.
**Regression test:** the external integration scene spec (`SceneExternalIntegration.cy.js`), which already has a trigger variable ("Object type") and a variables-aware text field, now types `{{`, asserts that the dropdown opens and lists the variable, picks it, finishes the text, and checks that the saved caption is `{{triggerEvent.data.label}} detected`. I confirmed the assertion fails on the unfixed code (`.tagify__dropdown` never appears) and passes with the fix.
Out of scope, left as-is: the optional cosmetic rewording of the help text (`'{{'.` â `« {{ »`) mentioned in the issue.
No living spec covers this behavior. `docs/specs/external-integrations/capabilities/scene-triggers-and-actions.md` only references the "type '{{'" help text, which is now accurate.
### Related request
Closes #3356
Forum: https://community.gladysassistant.com/t/modifier-le-texte-pour-utiliser-des-variables/10905
### Checklist
- [x] If a forum topic or GitHub issue exists, the description links it (`Forum: https://community.gladysassistant.com/t/...` or `Closes #...`)
- [x] Tests pass: Cypress (`npm run cypress:run`): full suite, 27 specs, 133/133 passing. Server untouched, so no server coverage run.
- [x] Linter and prettier pass on the front (`npm run prettier-check`, `npm run eslint`: 0 errors, changed files have no warnings). `npm run compare-translations` and `npm run build` pass too.
- [x] No undocumented breaking change
---
_Generated by [Claude Code](https://claude.ai/code/session_01MNjB35SuT5mKERRzVeZt3G)_
Donât hesitate to follow the PR, to test (optional, especially for small requests) and to give your feedback here if needed.
Hello,
The list of variables now opens as soon as you type {{ in a scene text field. This is fixed in Gladys Assistant 5.3.3 .
The details are in the announcement:
Hi everyone!
Gladys Assistant 5.3.3 is out
Donât let the version number fool you: this release is almost entirely about one project, Gladys on your phone. Many of you check your dashboard on your smartphone, but as soon as you wanted to change a widget or a scene, you were facing a desktop form squeezed onto a small screen. So we rebuilt dashboard and scene editing starting from the phone. On a computer, your habits donât change.
[The Devices widget, the scene list and the scene editorâŠ