Hi can anyone tell me what’s wrong with this automation. this section - type: turn_on device_id: cf3ce6123a8ffce0fac60735295c5a65 entity_id: light.kitchen_light domain: light brightness_pct: 100 - conditions: - condition: trigger
is not turning the light on, the timer starts fine but light will not turn on?
alias: Kitchen Light Motion
description: ""
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.kitchen_light_bright_timer
id: Timer Finished
- type: no_motion
platform: device
device_id: fcd81256b5082f83ec924961a6d1deba
entity_id: binary_sensor.kitchen_motion_sensor_motion
domain: binary_sensor
id: Motion Stoped
- type: motion
platform: device
device_id: fcd81256b5082f83ec924961a6d1deba
entity_id: binary_sensor.kitchen_motion_sensor_motion
domain: binary_sensor
id: Motion Detected
- platform: event
event_type: timer.finished.dim
event_data:
entity_id: timer.kitchen_light_dim_timer
id: Timer Dim Finished
condition:
- type: is_illuminance
condition: device
device_id: fcd81256b5082f83ec924961a6d1deba
entity_id: sensor.kitchen_motion_sensor_illuminance
domain: sensor
below: 60
enabled: false
action:
- choose:
- conditions:
- condition: trigger
id: Motion Stoped
sequence:
- service: timer.start
data:
duration: "60"
target:
entity_id: timer.kitchen_light_bright_timer
- conditions:
- condition: trigger
id: Motion Detected
sequence:
- service: timer.cancel
data: {}
target:
entity_id: timer.kitchen_light_bright_timer
- type: turn_on
device_id: cf3ce6123a8ffce0fac60735295c5a65
entity_id: light.kitchen_light
domain: light
brightness_pct: 100
- conditions:
- condition: trigger
id: Timer Finished
sequence:
- type: turn_on
device_id: cf3ce6123a8ffce0fac60735295c5a65
entity_id: light.kitchen_light
domain: light
brightness_pct: 30
- service: timer.start
data:
duration: "60"
target:
entity_id: timer.kitchen_light_dim_timer
- conditions:
- condition: trigger
id: Timer Dim Finished
sequence:
- type: turn_off
device_id: cf3ce6123a8ffce0fac60735295c5a65
entity_id: light.kitchen_light
domain: light
mode: single