# Motion Lighting Automations

## Overview

6 automations handle motion-activated lighting across the home. All use Aqara Motion Sensor P1 entities (via Matter) as triggers.

---

## Motion Activation Hallway Lights

**Entity:** `automation.motion_activation_hallway_lights` | **State:** on

Triggers the 2nd Floor Hallway lights when the Hallway Aqara Motion Sensor P1 detects occupancy.

| Property | Value |
|---|---|
| Trigger | `binary_sensor.hallway_aqara_motion_sensor_p1_occupancy` → on |
| Action | Turn on Hallway Lights (Lutron) |

---

## Motion Activation Upstairs Hallway 2

**Entity:** `automation.motion_activation_upstairs_hallway_2` | **State:** on

Triggers the 3rd Floor Upstairs Hallway light when the Upstairs Motion Sensor detects occupancy.

| Property | Value |
|---|---|
| Trigger | `binary_sensor.upstairs_motion_sensor_occupancy` → on |
| Action | Turn on Upstairs Hallway Lights (Lutron) |

---

## Motion Activation Kitchen Lights

**Entity:** `automation.motion_activation_kitchen_lights` | **State:** on

Triggers kitchen lighting when motion is detected in the kitchen area.

| Property | Value |
|---|---|
| Trigger | Motion sensor in kitchen area |
| Action | Turn on Kitchen Lights (Lutron) |

---

## Motion Activation Garage

**Entity:** `automation.motion_activation_garage` | **State:** on

Turns on garage lights when the Aqara Motion Sensor P1 in the garage detects occupancy.

| Property | Value |
|---|---|
| Trigger | `binary_sensor.garage_motion_sensor_occupancy` → on |
| Action | Turn on Garage Lights |

---

## Garage Door Opening Lights

**Entity:** `automation.garage_door_opening_lights` | **State:** on

When the garage door opens, turns on the garage lights to illuminate entry/exit.

| Property | Value |
|---|---|
| Trigger | `cover.garage_door` → opening |
| Action | Turn on Garage Lights |

---

## Link Hallway Lights to Upstairs When Turning On Lights

**Entity:** `automation.link_hallway_lights_to_upstairs_when_turning_on_lights` | **State:** on

Syncs the 2nd Floor Hallway lights and 3rd Floor Upstairs Hallway lights so they activate together — useful for nighttime navigation.

| Property | Value |
|---|---|
| Trigger | Hallway OR Upstairs Hallway light turns on |
| Action | Turn on the paired hallway light |

---

## Notes

- All motion sensors are Aqara Motion Sensor P1 devices connected via Matter (Aqara Camera Hub G3 or Hub M2 bridges).
- These automations do not include auto-off timers — lights stay on until manually turned off or a separate time-based rule applies. Consider adding time-limited auto-off for energy saving.

## Last Updated

2026-06-24