Hello, I would like to share one of my first blueprints. It is a simple motion sensor switch — the main feature is that you can connect multiple sensors. I encountered this while renovating my home.
Universal automation for lighting in rooms/hallways:
Turns lights on from motion or door opening, starts a timer when motion stops, and turns lights off when the timer completes. Supports global conditions (e.g. only at night or when someone is home) and can run extra actions after the timer finishes (notifications, scripts).
Use cases: hallway, closet, bathroom, porch.
💡 Main idea (Click to expand)
This blueprint combines multiple trigger sources (motion, door) and provides a flexible timeout and post-timer actions. Works as a base template for most household locations.
- Versatility — suitable for hallway, entryway, bathroom.
- Flexibility — change timer duration via input_number, add conditions.
- Integration — run arbitrary actions after lights off.
⚙️ How it works (short)
- Start: any motion sensor → turn lights on and cancel timer.
- Motion off: start chosen timer using duration from input_number (minutes).
- Door open: turn lights on and start timer (if door sensor provided).
- Finish: when timer finishes → turn lights off and run additional actions.
- Global conditions: if provided, must be true for the automation to run.
My GitHub
Automations & tools — smirnowegor (Egor Smirnov) · GitHub
Home Assistant Blueprints — GitHub - smirnowegor/HomeAssistant_blueprints: A collection of refined Home Assistant blueprints with bilingual (Russian/English) documentation — focused on clarity, usability, and advanced automation features. Simple to use.
💬 Contacts
Telegram — Telegram: View @u2smart4home
YouTube — https://www.youtube.com/@udobni_dom
Dzen — https://dzen.ru/id/5e32d0969929ba40059b5892
💰 Support the author
- Dzen — https://dzen.ru/id/5e32d0969929ba40059b5892?donate=true
- donate.stream — donate.stream ••• Удобный дом
- Telegram — Telegram: Launch @tribute
- Crypto (USDT TRC20):
TCHekdJZFndXpDrHZGuTmqFNcqhWBTTzPr