Hi,
I would like to make a simple automation.
An Aqara motion sensor is used as a trigger to turn a light on when motion is detected. But the light is not turned on, This is the automation:
Trigger
Device: motion sensor
Trigger: motion is detected
No conditions
Action
Service: light turn on
Entity: light hallway
I also tried this:
Trigger
Trigger-type: State
Entity: binary_sensor_xxx
From: off….none……not_detected
To: on…detected……detected
No conditions
Action
Service: light turn on
Entity: light hallway
What I’m doing wrong? The sensor is succesfully recognized in Phoscon.