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

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?

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106869

Trending Articles