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

Calling an input by it's name stored in a variable?

$
0
0

This might be obvious, but I’m still getting my head around syntax,

Lets say I have an input in a blueprint:

    switch_1_click:
      name: Switch 1 Click
      default: []
      selector:
        action: {}

Normally, I can call that as follows:

  - sequence: !input switch_1_click

Is there any way to call the input if the name “switch_1_click” is stored in a variable?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107417

Trending Articles



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