Popup navigation_path as variable #126
dumitrudan608
started this conversation in
Ideas
Replies: 1 comment
-
|
Hi @dumitrudan608! 👋 Good news — navigation_path now supports Jinja2 templates as of v1.3.2.2, so you can drop the config-template-card wrapper entirely and go back to the native visual editor. tap_action: type: custom:alert-ticker-card
No wrapper card, no JavaScript, visual editor fully intact. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. I have a helper
input_text.room_presence_danthat changes with the last sensor/camera/light triggered. That's usually the room I'm in. And using that, I would like the alert to show a different popup corresponding to the room (Naming convention Room: Living Room - popup: '#pop-lr', Kitchen - '#pop-ki', Room Kids - '#pop-rk'). I already have a template calculating that in sensor.room_presence_dan_pop. The problem is that usingnavigation_path: "[[sensor.room_presence_dan_pop]]"does not do anything.This does not work:
One solution I found has the huge drawback of losing the visual editor is using a custom:config-template-card. Again this worked but the Alert Ticker card has such a nice UI that I would prefer not losing the visual editor:
This does work but I lose UI
Beta Was this translation helpful? Give feedback.
All reactions