I am new to HA but have worked as a systems admin for over 15 years. I have been setting up my home for the past 2 weeks and I am beating my head on an automation that keeps turning the lights off in our family room. We have a corner on the couch with a nice 3 lamp reading light that I have set up as a reading zone in Aqara app and it has sync'd with HA using the HomeKit Device integration. I have the automation working as far as the reading_spot scene is getting enabled which turns on all of the lights to 100% but in less than a minute they all turn off. The automation for turning them off is disabled and it still turns them all off. I have checked in the HA app and the Aqara app to make sure the zone is still showing as detected and it is. What am I missing. Here is the YAML.
alias: Reading Spot
description: Turn all the lights on high in the corner location of the couch for reading.
triggers:
- trigger: state
entity_id:- binary_sensor.aqara_fp2_presence_sensor_3
to: "on"
for:
hours: 0
minutes: 0
seconds: 0
from: "off"
conditions: []
actions:
- binary_sensor.aqara_fp2_presence_sensor_3
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.reading_spot
mode: single