I have seen this before in cameras. Your camera is picking up the light change (ON to OFF) thinking it is motion. I don’t have the Aqara Camerahub G3 so I am unsure what settings you have. Try reducing the sensitivity or on that line of thinking. It is not the BP it is your Aqara Camerahub G3.
If all else fails then I have a template example on how to do a delay but then you will have a delay for when it comes ON so it is best to try an resolve it in your settings. The link to the template example is here… see REF - TS-2. The delay is 2 seconds but try reducing it down as much as possible. You then use this template as the trigger.
Awsome thank you, it’s reassuring to know that it’s not me being stupid.
I will try your suggestions, but I have ordered the new Everything Presence Lite sensors and so will be using these instead with the blueprint. Thanks again
I want the garage lights to come on when 1) garage bay door open or 2) garage door into the house opens. This works fine (I’ve grouped them). However, how can I turn the light off (it was on) when a different door (let’s say “side door”) is opened? Is this a “bypass” logic? I don’t want bugs to be attracted to the lights so I want them to go off should that side door be opened.
Your lighting experience, your way – take control and customize it to perfection!
New Feature
Collapsible Sections - Added collapsible sections to the blueprint. This enhancement improves the blueprint user interface by making it cleaner and more organized, allowing sections to be collapsed.
This feature was introduced in Home Assistant 2024.6, so you must have this version or later for the blueprint to work.
Maintenance
Update deprecated code for light control in kelvin.
Code Clean Up
Cleaned up code for reliability that could cause a bug.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Looks like you edited your YAML manually as your “Scenes & Scripts - Toggle Helper” is wrong. This is not an input_boolean entity ID. You are only using lights and a switch so you don’t need this input boolean. Please remove the bottom line and test it again.
Is it possible to configure the color of a RGB light with differents colors for differents range of time ?
Example red after the sunset (Night) and white after a certain time.
Hey, thank you for the great blueprint. I have a question.
I have a stair with 2 doors at the bottom and the top of the stair. Both doors have sensors and my goal is to turn on lights on the staircase the moment any of the doors open. Also my goal is to extend the time lights are on, each time any of the doors close and then open again.
You recommend to group multiple trigger sensors into a group sensor. But in this case as long as one of the doors is open, no matter how many times I open/close the 2nd door, binary group sensor says door is open once and then doesn’t register future door opening/closing. Hence duration that light is on doesn’t get extended with each opening and closeing of the 2nd door as long as 1st remains open.
Do I understan correctly that in this case I should not follow your advice and create a group binary sensor, but instead use each of the door sensors separately inside the blueprint settings? Would appreciate your advice here.
And if my assumption is correct and scenario legitimate perhaps its worth updating the documentation to differentiate your advice depending on the scenario?
@Blacky would you be so kind as to check here to see if it really is a bug? By way of background, I have updated to the latest version and also created the new helper for dynamic lighting. In my opinion, the automation is also running properly, but after I completely restarted the entire system, I discovered the following error message in the logs. It only affects one automation in the living room. When I restarted, I was also in the living room, the light stayed on and was also on after the restart, the helper was also on. Am I missing something or is it information I don’t understand?
Thank you
Logger: homeassistant.components.automation.licht_wohnzimmer_automation
Quelle: helpers/script.py:2001
Integration: Automatisierung (Dokumentation, Probleme)
Erstmals aufgetreten: 18:46:13 (3 Vorkommnisse)
Zuletzt protokolliert: 18:46:13
licht_wohnzimmer_automation: Choose at step 1: default: Parallel actions for dynamic lighting and normal lights: parallel 1: Choose at step 3: 1 - Dynamic Lighting - Lux Controlled Brightness: Dynamic Lighting Control: Error executing script. Error rendering template for variables at pos 1: ZeroDivisionError: float division by zero
licht_wohnzimmer_automation: Choose at step 1: default: Parallel actions for dynamic lighting and normal lights: parallel 1: Choose at step 3: 1 - Dynamic Lighting - Lux Controlled Brightness: Error executing script. Error rendering template for repeat at pos 1: ZeroDivisionError: float division by zero
licht_wohnzimmer_automation: Choose at step 1: default: Parallel actions for dynamic lighting and normal lights: parallel 1: Error executing script. Error rendering template for choose at pos 3: ZeroDivisionError: float division by zero
Is there a possibility to return to the previous state instead of just turning off?
For example; I have a light, it is manually turned on and dimmed to 25%. When the motion sensor triggers I want the brightness to 100% for a given amount of time and then return to 25% (the previous state). Is this possible?
Yes, you would need to use night lights. To get RGB you will need to create a scene and use the scene in night lights. Then when night light are active you will have red and when normal lights are active you will have white.
If you need more than 2 time frames then you would need to create a script that will set the RGB depending on the time of day. Example when motion is triggered it will run the script and then the script will set the lights to your liking depending on the time of day.
Are you still getting this error? I ask because you say “It only affects one automation in the living room.” and you may of resolved it before I dig into it.
Example if you have a scene to set the light to 100% then add that into 'Lights - Switches - Scenes - Scripts '. Then you could have a scene to set the lights at 25% and then add that to ‘Scenes - Scripts To Turn OFF’. This will always have your lights at 25%.
Maybe if I had your use case I could better help you but take a look at this link click here and look under the heading Automation Example. It guides you how to set your lights to low brightness and then 100% and it just may be suited to your use case.
Because you have a wireless button we don’t want that to turn the light ON / OFF. You probably have that set up. Push the button light turn ON / OFF before you used the BP. Now if you are using the BP you have to detach it from the light. The button must have an ON / OFF state.
There are a few ways to do this depending on what you are after. If you use it in the trigger when the button is ON the light will come ON. When it is pushed OFF the time delay starts and then turns the light OFF. You may have this setup already. When you turn it OFF you don’t get that instant OFF because of the time delay.
so we can use the bypass option 1.
If you put your wireless button (must have an ON / OFF state) into bypass option 1 then when you turn it ON the light will come ON and stay ON and when your turn it OFF you have a separate time delay in the bypass. If you set it to 0 then it will go OFF instantly IF! all your triggers are OFF. If not then it will wait for your triggers to go OFF and then turn the light OFF. Good thing about the bypass you can also set an auto OFF time delay that will turn your button OFF if you forget to turn it OFF.
I’m not sure if it’s possible, but is there a way to detect the entity supported attributes? Say for example, you have non-dimmable bulb, but you configure the brightness to adjust with the blueprint accidentally, which results in the automation to stop working all together.
If the blueprint is somehow was able to detect that this feature isn’t support by said device, then it will notify the user or disable to option entirely. Think this will help with a lot of misconfiguration by users here (myself included).