Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

Looping an ESPHome script

$
0
0

Hello,
can somebody help me to loop this ESPHome script? I cant execute the same script inside the same script. That is what I tried:

script:
  - id: "jar_oc"
    then:
      - logger.log: "Jar automation is running"
      - servo.write:
          id: jaw
          level: -0.0%
      - delay: 0.6s
      - servo.write:
          id: jaw
          level: 100.0%
      - delay: 0.6s
      - script.execute: jar_oc

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1486


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