Zrobiłem taką automatyzację ale mi nie działa, co jest nie tak?
Chciałbym aby w dni powszednie o 7:17 sprawdzało jak jest jasno na dworze i w zależności od przedziału luxów otwierało roletę mniej lub bardziej.
alias: "!rolety salon wsch otw w zależności lux"
description: ""
triggers:
- trigger: time
at: "07:17:00"
weekday:
- mon
- tue
- wed
- thu
- fri
id: Czas
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 100
below: 200
id: 100-200
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 201
below: 300
id: 201-300
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 301
below: 400
id: 301-400
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 401
below: 500
id: 401-500
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 501
below: 600
id: 501-600
- type: illuminance
device_id: f907afd217eaa5f90dd1237cdb0e370a
entity_id: b8e943f7294dbeb7071db8055a2e616f
domain: sensor
trigger: device
above: 601
below: 1500
id: 601-1000
conditions: []
actions:
- choose:
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- Czas
- condition: trigger
id:
- 100-200
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- 201-300
- condition: trigger
id:
- Czas
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 12
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- 301-400
- condition: trigger
id:
- Czas
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- 401-500
- condition: trigger
id:
- Czas
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 8
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- 501-600
- condition: trigger
id:
- Czas
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- Czas
- condition: trigger
id:
- 601-1000
sequence:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
- delay:
hours: 0
minutes: 0
seconds: 4
milliseconds: 0
- action: cover.stop_cover
metadata: {}
data: {}
target:
entity_id: cover.salon_wschod
mode: single