This blueprint allows you to automate scene selection and manage lights efficiently using button presses, motion sensors, and optional hold actions. It replaced a few dozen automatons for my single button scene selection with few bells and whistles. It’s highly opinionated but I still hope someone finds it useful.
Here are the features and inputs required to get started:
Features:
-
Scene Selection: Use a button device to cycle through scenes.
-
Light Management: Turn off lights in selected areas or specific lights on a double press.
-
Automatic Turn Off: Configure a delay to turn off lights automatically.
-
Occupancy Monitoring: Use a motion sensor to monitor room occupancy and turn off lights after a specified duration.
Inputs:
-
Scene Selection Helper: Input helper for scene IDs.
-
Button Devices: Button devices for triggering scene selection.
-
Target Areas for Light Control: Areas to turn off lights on a double press.
-
Target Lights for Control: Specific lights to turn off on a double press or automatically.
-
Automatic Turn Off Delay: Delay before lights turn off automatically.
-
Hold Action: Optional automation or script to execute on a hold action.
-
Motion Sensor: Sensor to monitor occupancy.
-
Motion Sensor Duration: Time for the motion sensor to stay clear to turn off the lights.
Triggers:
-
Single Press: Cycle to the next scene and activate it.
-
Double Press: Turn off lights in the target areas or specified lights.
-
Hold: Execute the optional hold automation, script or scene
-
Occupancy: Turn off lights when no motion is detected for the specified duration.
Blog post & Gist: Home Assistant Blueprint: Room Scene Selector | Vladimir Cvetić | Vault of Vital Nonsense