cancel
Showing results for 
Search instead for 
Did you mean: 

I have a script to open two blinds in the living room.

Larrrrry
Community Member

I have a script to open two blinds in the living room....- some times it works - sometimes it doesn't ...why?

 Automation check: conditions met.

Starter check: conditions not met.
starter check: conditions met.
Automation started by: schedule.
Automation started by: schedule................sometimes.
Here is the script....what am I doing wrong?
metadata:
name: Both blinds open at 7am close at 9pm
description: Both blinds open and close
automations:
- starters:
- type: time.schedule
at: 7:00 AM
actions:
- type: device.command.OpenClose
devices:


- Left Blinds - Living Room
- Right Blinds - Living Room
openPercent: 100.0

- starters:
- type: time.schedule
at: 9:00 PM
actions:
- type: device.command.OpenClose
devices:
- Left Blinds - Living Room
- Right Blinds - Living Room
openPercent: 0.0

2 REPLIES 2

salbando
Community Member

I don't think there is anything wrong. I have had some scripts that have starters just like you have and they worked reliably and others just like them that don't work reliably. For those (obnoxious ones), I have made two separate scripts and that seems to work well. So, for you, one script for opening the blinds and a different script for closing them. It is worth a try. My best guess as to why, would be the guess I always give....It's all about connectivity. Maybe your network is more taxed at some times than other times. 

i like that idea...separate scripts...and maybe check my connectivity...thanks.