As long as the button has a ON & a OFF state for the by-pass it will work.
No problem at all, happy to help.
As long as the button has a ON & a OFF state for the by-pass it will work.
No problem at all, happy to help.
No problem at all, let us know how you go.
I tested version 2.0 with the Lux option set to âYESâ, but I have the feeling that it didnât bring any improvement.
@fakorte Can you please confirm if you are just using only scenes? (no individual light selection) If so I will do a FAQ for this on how to resolve it.
@fakorte I will do a FAQ for the LUX option. This will also help if someone is having a similar problem. It will be my next post.
FAQ - Ambient Light Sensor & Site Conditions
If youâve only selected scenes or script in the Lights - Switches - Scenes - Scripts or Night Lights sections, please continue reading. If youâve chosen an entity in these sections, the automation should work as expected.
Sometimes, when setting the Ambient Light Sensor - Site Conditions to YES, the lights may not stay on, giving the impression that this option isnât functioning. This issue often occurs when no entity has been selected in the âLights - Switches - Scenesâ or âNight Lightsâ sections.
To resolve this, ensure you add a toggle helper to the Scenes & Scripts - Toggle Helper section. This will help ensure the smooth operation of the automation.
Below is where you should add the toggle helper to ensure smooth operation of the automation:
Now, your selection of YES in the Ambient Light Sensor - Site Conditions should work and function correctly.
Enjoy
Blacky
Back to FAQ: Click Here
Back to âThe Settings & Best Practice Guidelinesâ Click Here
Thank you very much, that looks very helpful I will test it soon. I really only had scenes in my automation
No problem, your welcome
Hi, great blueprint thanks!
Is it possible to adapt this for check to see if known people are at home?
I have pets and theyâre forever triggering these types of things, so I need a way to stop this from running if no-one is at home. I have the zone.home to check against as well as a person group.
I tried it with a scene and a single device (that is also in the scene) and it still doesnât workâŚ
alias: Sensor light Kueche Nacht
description: ""
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.zb_ms_kueche_occupancy
light_switch:
entity_id:
- scene.szene_sensor_light_kueche_nacht
device_id: 648d94f5811833b627d23b8da05897a5
end_scenes:
- scene.szene_sensor_light_kueche_aus
time_delay: 2
ambient_light_sensor: sensor.zb_ms_kueche_illuminance_lux
ambient_light_value: 4
motion_bypass: input_boolean.dauerlicht_kuche
include_bypass: bypass_enabled
include_ambient: ambient_enabled
after_time: "21:00:00"
before_time: "06:00:00"
include_time: time_enabled
ambient_light_options: ambient_light_option_enabled
@fakorte So close It canât be a device. It must be a entity with a ON / OFF state. This is what we are looking for. Drill into the device and just add the entity your turning ON and OFF or just select a separate light or switch.
Happy New Year Everyone!
In this release I have added a few more options that I hope you will like.
NEW OPTIONS
Enjoy
Blacky
hi, for some reason i cant select a room, device or entity to turn on the lights. Keeps saying nothing found.
hope you can help
Is there any easy way to implement the following:
Too many times Iâve had the issue that Iâve lowered the brightness of a light manually and it would get back to the preset on the scene after movement is detected.
Any easy fix for this?
This is a bug in New update Home Assistant 2023.1.0
Hopefully you did a back-up before you updated. If so go back to your back-up.
I have reported it to HA as a bug
Not sure what your saying here. If light is ON and the scene gets turned ON then the light is ON.
Yes this is correct and how it should work. If you trigger the motion sensor again it will reset the scene adjusting your lights if you change them. Maybe if it is brightness you looking for then use the new update V2.2 (just about to be releases) and donât use brightness in the automation. You then will have manual control over brightness.
Thanks for your reply! Unfortunately Iâm pretty new to HA and Iâm changing a lot daily. So no backup. Patience is key here i guess.
Hope to use your great blueprint soon!
@sdeboer84 If you are keen then you can try this.
Find out your âentity IDâ you would like to use. Go to, Settings / Devices & Services, click on top tab âEntitiesâ. Find it there.
Open the blueprint, click on 3 dots top right, and âedit in YAMLâ. You should see something like this.
description: ""
alias: Sensor Light
use_blueprint:
path: Blackshome/sensor-light.yaml
For âLights - Switches - Scenes *â enter from âinputâ and change your entity_id. I put 3 entities in there for the example (you will need to change them) but add or remove as required.
description: ""
alias: Sensor Light
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
light_switch:
entity_id:
- light.change_to_your_entity
- switch.change_to_your_entity
- scene.change_to_your_entity
For âNight Lightsâ it will be similar, see below
description: ""
alias: Sensor Light
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
light_switch:
entity_id:
- light.change_to_your_entity
- switch.change_to_your_entity
- scene.change_to_your_entity
night_lights:
entity_id:
- light.change_to_your_entity
- switch.change_to_your_entity
- scene.change_to_your_entity
Now click 3 dots top right and select âEdit in visual editorâ
Hopefully you see your lights now
Fill out the rest.
Not sure if it will work because I donât know what HA did but be assured the blueprint works.