Automation planner

Start with an automation idea, then find the devices and hubs you need

Choose a scene such as presence lighting, front door security, away mode, smart locks, energy alerts, climate comfort, or garden watering. The planner maps it to required devices, hub/controller gaps, feature limits, and Home Assistant YAML.

Turn lights on when someone enters a room and turn them off when the room becomes empty.

Devices you already own

Presence & lighting

Presence-based room lighting

Turn lights on when someone enters a room and turn them off when the room becomes empty.

Local risk

high

Security scene

No

Owned matches

0

Recommended setup path
  1. Choose a presence or motion sensor that exposes stable entities to Home Assistant.
  2. Connect lights through a local path when possible, such as Hue Bridge, Matter, Zigbee, or a native integration.
  3. Generate YAML only after the trigger and light entities are visible.
Missing devices and hubs
  • Aqara Presence Sensor FP2
  • Eve Motion
  • Aqara Motion Sensor P1
  • Philips Hue Bridge
  • Home Assistant
  • compatible presence or motion sensor
  • light or lighting bridge
Feature and reliability limits
  • Presence sensors can require vendor app calibration.
  • Basic motion sensors may turn lights off while people are still still.
  • Cloud-only lights can add delay to automations.
Home Assistant YAML starter
alias: Turn on light when presence is detected
trigger:
  - platform: state
    entity_id: binary_sensor.presence_sensor
    to: "on"
condition:
  - condition: sun
    after: sunset
action:
  - service: light.turn_on
    target:
      entity_id: light.hallway
mode: single

Need a setup decision?

$1.99 setup report

Send your hubs, target ecosystem, and this page context. We will return a concise path for what to connect, what hub is missing, which features may not work, and what to buy instead.

Manual reviewBefore you buy
Request setup report

Share or save this result

Copy the current setup URL or a concise diagnosis summary.