Skip to content

Instantly share code, notes, and snippets.

@Stephan-4711
Stephan-4711 / yet_another_motion_automation.yaml
Last active September 24, 2024 15:20 — forked from anym001/yet_another_motion_automation.yaml
Homeassistant blueprint for motion-activated light scene including illuminance sensors
blueprint:
name: Yet Another Motion Automation (Custom)
description: "# YAMA V11\n\nTurn on lights or scenes when motion is detected optional with lumiance sensor. \nFour
different scenes can be defined depending on time of day.\n\nFor Details see this
forum post:\nhttps://community.home-assistant.io/t/yama-yet-another-motion-automation-scenes-ambient-light-and-some-conditions/257062?u=networkingcat\n\nCapabilitys:\n\n
- Trigger on motion (in fact can be triggered by anything that switches between
“on” and off\")\n - Wait time for turning off\n - Only run if entity is in desired
state (optional)\n - Sun elevation check (optional)\n - 4 Scenes for different
times of day (optional)\n - Ambient support with time frame (optional)\n - Default
scene when motion stops (optional)\n - “no motion blocker” with user choosable