πŸ’‘ Sensor Light - Motion Sensor - Door Sensor - Sun Elevation - LUX Value - Scenes - Time - Light Control - Device Tracker - Night Lights

Blacky,

I’ve been using your blueprints for a while now annd love them thank you! I cannot for the life of me get the nightlight mode to trigger on from my motion sensor. It works perfectly during the day time hours I have configured, however at night it will never trigger.

If I run the automation manually during the night it will turn on the lights correctly.

id: '1701985979449'
alias: Upstairs Bathrooms Lights
description: ''
use_blueprint:
 path: Blackshome/sensor-light.yaml
 input:
   motion_trigger:
     - binary_sensor.upstairs_bathroom_motion_sensor_occupancy
   light_switch:
     entity_id: light.upstairs_bathroom_lights
   end_scenes: []
   include_light_control: use_brightness
   include_time: time_enabled
   after_time: '05:00:00'
   before_time: '22:30:00'
   include_night_lights: night_lights_enabled
   night_lights:
     entity_id: light.upstairs_bathroom_lights
   include_night_light_control:
     - use_night_brightness
     - use_brightness
   night_light_brightness: 2
   night_lights_after_time: '22:31:00'
   night_lights_before_time: '04:59:00'
   time_delay: 30
   include_bypass: bypass_enabled_stop
   night_time_delay: 3
   night_lights_conditions:
     - time_enabled
   night_lights_entity_state:
     - binary_sensor.upstairs_bathroom_motion_sensor_occupancya

Simple fix. You need to include your Night Lights time window in the main time window.

Hi Blacky, this is an amazing blueprint! One small request, is it possible to add an option to specify brightness of bypass? I’m using this to control a zigbee bulb that I typically want at 70%, then 5% for night light mode, but would like it to be at 100% if I activate the bypass switch.

I jumped into the yaml config and it is much more complex than the automation I have ben playing with so far :grimacing:

Thank you!

Hi Blacky,

I have a question. Are the bypass switches β€œand” or are they β€œor”?
They seem to be ignored :confused:

@Blacky
Hi. Can you add an function for an brightness sensor? So I can simulate the funtion of the hue app for brightness and motion sensor.
So I can choose as input that the motion sensor ist enabled and teh brightness ist above oder under a limit.