🔘

Turn on based on motion by apollo1220

Turn on a light, switch, scene, script or group based on motion detection, and low light level.

Required entities:

  • Motion sensor (single sensor or group)
  • Target entity (light, switch, scene or script)

Optional features:

  • You can set a cutoff entity of which the value determines whether the illuminance level is low and the automation needs to trigger.
  • You can define a blocking entity, which blocks the automation from running when this entity's state is on.
  • You van define a turn-off blocking entity, which blocks the entity from turning off after the set delay.
  • Time limits can also be defined to limit the time before and after the automation should trigger.
  • If you want the entity to turn off after a certain amount of seconds, you can use the Wait Time input.
  • If you want another entity than the target_entity to turn off after the delay, you can define a separate Turn-off entity.
  • If you do not enable the optional entities the automation will skip these conditions.
17
Stars
8.6K
Views
4.8K
Imports

Import to Home Assistant

Click to import this blueprint directly into your Home Assistant instance.

Configuration

Requires 11 inputs to configure

Entity
Number
Action

Source Code

View on GitHub

Details

Complexity
Complex
Author
apollo1220
Last Updated
Oct 3, 2025

Related Blueprints

More button actions automations you might like

View all
🔘
Button Actions
complex
17 inputs

Send a mobile notification when add-on update is available

Send a mobile notification when add-on update is available

Send a notification to the provided mobile devices whenever an update for the given Home Assistant add-on is available. Supports full notification customization, notification groups, auto-dismissal when the add-on is updated and button for starting the update directly from your notification tray, with optional notification after the update completed succesfully. 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. ℹ️ Version 2021.10.26
addon
text
entity
+2
1.2K1.6K2.5K
🔘
Button Actions
complex
37 inputs

Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote

Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote. Allows to optionally loop an action on a button long press. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K9.2K702
🔘
Button Actions
complex
19 inputs

Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer

Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer

Controller automation for executing any kind of action triggered by the provided IKEA E1743 TRÅDFRI On/Off Switch & Dimmer. Allows to optionally loop an action on a button long press. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K1.7K786
🔘
Button Actions
complex
15 inputs

Controller - IKEA E1744 SYMFONISK Rotary Remote

Controller - IKEA E1744 SYMFONISK Rotary Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1744 SYMFONISK Rotary Remote. Allows to optionally loop a custom action during controller rotation. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K6.0K4.8K
🔘
Button Actions
complex
13 inputs

Controller - IKEA E1766 TRÅDFRI Open/Close Remote

Controller - IKEA E1766 TRÅDFRI Open/Close Remote

Controller automation for executing any kind of action triggered by the provided IKEA E1766 TRÅDFRI Open/Close Remote. Supports deCONZ, ZHA, Zigbee2MQTT. Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with media players, lights, covers and more. See the list of Hooks available for this controller for additional details.

More Info

ℹ️ Version 2025.04.19 📝 Changelog 📕 Full documentation regarding this blueprint is available here. 🚀 This blueprint is part of the Awesome HA Blueprints project. Please consider leaving a star on GitHub! 🌟
select
device
entity
+3
1.2K10.6K4.0K