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

Delay in script not working?

$
0
0

I want to write a script to send three commands to my Broadlink remote with a 750ms delay between each. Individually, each command works just fine, but when I put them into a script, only the first command is sent.

Any ideas what I did wrong?

alias: fios_stb_office_msnbc
sequence:
  - service: remote.send_command
    data:
      device: Office STB
      command: 6
    target:
      entity_id: remote.broadlink_office_remote
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data:
      device: Office_STB
      command: 0
    target:
      device_id: c93b2be6ffa811eab444bf3b4d7f7b79
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data:
      device: Office STB
      command: 3
    target:
      device_id: c93b2be6ffa811eab444bf3b4d7f7b79
mode: single

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103194

Trending Articles



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