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

How to get sequence index

$
0
0

Hello

How to get the index of a sequence and use it in a template?

alias: My script
sequence:
  - action: notify.persistent_notification
    metadata: {}
    data:
      message: "index: {{?}}"
  - action: notify.persistent_notification
    metadata: {}
    data:
      message: "index: {{?}}"
  - action: notify.persistent_notification
    metadata: {}
    data:
      message: "index: {{?}}"

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105737

Trending Articles



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