Showcase/myggspray-auto-lights.yaml
IKEA MYGGSPRAY - Smart Motion Lights
Select one or more motion detectors. They do not need to expose a light-level entity; motion from any selected detector can turn the lights on.
Select one or more light-level entities. These can belong to different detectors from the motion sensors. The lights may turn on when at least one valid reading is below the threshold.
Motion only activates the lights below this level.
All selected lights must be off before activation.
Keep the bulb's remembered colour, choose RGB, or choose white temperature.
Used only when Automation Colour is RGB colour.
Used only when Automation Colour is White colour temperature.
Zero is usually best for avoiding a visible ramp from an old state.
Safety timeout for a stuck sensor or missed clear event.
Updates as you configure, like HA's YAML view. Paste into an automation using this blueprint.
alias: IKEA MYGGSPRAY - Smart Motion Lights — demo
description: Created from 0libote showcase replica (mock entities)
use_blueprint:
path: 0libote/myggspray-auto-lights.yaml
input:
motion_sensor: []
illuminance_sensor: []
lux_threshold: 30
target_lights: []
brightness_pct: 70
colour_mode: keep
rgb_colour: [255, 214, 170]
colour_temperature: 2700
turn_on_transition: 0
no_motion_duration: {hours: 0, minutes: 2, seconds: 0}
maximum_runtime: {hours: 3, minutes: 0, seconds: 0}
restore_previous_profile: true
respect_manual_changes: true
mode: singleSections open and collapse exactly as declared in myggspray-auto-lights.yaml. Entity pickers only list domains the blueprint's filter allows. The YAML panel shows what HA would store for an automation built from this blueprint.