Hi Guys,
I am trying to loop a script.
I first followed the example of the flashing lights scripts in the documentation but later found in the forums that a script calling itself is no longer supported.
I found a later example that contained two scripts, one to do the thing and another to call the first. I must be stupid because I cant work out why it doesn’t want to work for me when everyone else has success.
When running the script, I get an error of [homeassistant.components.script] Script script.weatherset already running.
Can you help me in the right direction?
> weatherset:
> alias: "Set Weather Cube"
> sequence:
> - alias: "Set Weather"
> service: shell_command.cube_clear
> - delay:
> seconds: 31
> - alias: "Loop weather"
> service: script.turn_on
> data:
> entity_id: script.weatherloop
>
> weatherloop:
> alias: "Loop Weather Cube"
> sequence:
> - service: script.turn_on
> data:
> entity_id: script.weatherset