Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106729

Pass trigger.id to Script without YAML syntax?

$
0
0

I’m able to pass a variable to the scene selector and stay in the visual editor mode rather than YAML mode:

This is the YAML just to prove it really is a variable (and I tested it working):

I was wondering if it’s possible to do the same with "{{ trigger.id }}"?

This is what it looks like when I try to call my Script:

If it weren’t for that dynamic Trigger ID, I could have a nice clean UI like this:

Why is it that only scene selection allows variables in the visual editor? Also, is there a way I can fix my Trigger ID field to allow dynamic values like the scene selector?

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 106729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>