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.
Ambient Light Sensor - Site Conditions - FAQ
If you have only selected scenes, or an area or a device in the âLights - Switches - Scenesâ or in âNight Lightsâ then continue to read. If you have selected an entity in âLights - Switches - Scenesâ or when using âNight Lightsâ you have an entity selected then it should work.
Sometime when setting the âAmbient Light Sensor - Site Conditionsâ to âYESâ it doesnât keep the lights ON and appears that this option isnât doing anything. This can happen when you havenât selected an entity in the âLights - Switches - Scenesâ or in "Night Lights when using this option.
The easiest way to resolve this is to add just one light or switch (entity) from your scene to the âLights - Switches - Scenesâ or into âNight Lightsâ when using this option. If it is a scene then do not remove the lights from your scene, just add one light or switch (an entity) again separately to the automation. The scene should still adjust the lights to your liking. If you have a light in your scene that has no special settings (brightness, colour, effect etc) then it is best to add that light separately.
Below show the scene added to the automation. In the scene, it has many lights, all with different settings.
Below shows the same scene added. It also shows one light form the scene added separately. This is how it should look like.
Now you will find that your selection âYESâ in the âAmbient Light Sensor - Site Conditionsâ will work and function correctly.
PS: The âYES - My Ambient Light Sensor is affected by the Lightsâ option need just one entity added into âLights - Switches - Scenesâ and or âNight Lightsâ when using this option.
Enjoy
Blacky
Back to FAQ: 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.