Hey, just another thank you for the blueprint. I just loaded it yesterday and am only working with one bulb so far. Many options! Great work! Works great, once I fixed my mistake of entity vs sensor. I also just loaded your sensor light add-on. Both appear to meet and exceed my needs.
Just responding to my own post to help anyone that may be trying to do the same thing.
1-2. No need for a helper if HA recognizes your TV. Just set it as the entity in the bypass.
3. No need for a new template binary sensor.
4. Create 2nd automation with lights as required. Use the new Turn Light, Switch or Scene On or Off automation.
5. Add the TV as the entity into the 2nd automation by-pass option 3.
Okay, thanks John ⌠I will have to add this to my list so I can test it. Currently I have completed the next release and working through final checks so I am not sure if I will get to this before then but I will look into it.
Yep I know what that is. Because you are using scenes only and the way scenes are handled in HA the automation canât tell if it is ON or OFF. The good news is I have been working on this and it has been resolved. Stay turned for the next release that will be out soon. If you canât wait for it then what you can do is just add one light entity used in the scene into âLights - Switches - Scenes - Scriptsâ and âNight Lightsâ.
The Ambient Options set conditions that restrict automation to run only when it is dark or below specific ambient light levels. These levels are typically measured in LUX, and such sensors may also be referred to as LUX sensors. These are global conditions and can work alongside other selected conditions if configured.
Ambient Light Sensor
Using a primary outdoor sensor to detect the actual outdoor LUX value can be beneficial, as it allows you to apply a consistent measurement across all lighting automation setups. Indoor sensors may be used when the outdoor LUX value is not relevant, such as when lights are used in enclosed spaces like a garage or when blinds are closed.
Ambient Light Sensor - Site Conditions
Sometimes, when lights turn on, they can affect the ambient light sensor, increasing its LUX value and causing the lights to turn off prematurely. To address this, select an option that best suits your installation.
NOTE: If you are using a buffer zone between the high and low lux values, select âNOâ for this option.
Ambient Light - Low & High Lux Values
These settings allow you to create a buffer zone between two lux values to manage light activation and deactivation more effectively.
Ambient Light - Low Lux Value: Set this value to determine when the lights should turn ON. The light will activate when the lux level falls below this set value. This value should be equal to or lower than the âHigh Lux Valueâ below. A typical guide value is 20 lux (dusk).
Ambient Light - High Lux Value: Set this value to determine when the lights should turn OFF. The light will deactivate when the lux level rises above this set value. This value should be equal to or higher than the âLow Lux Valueâ above. Setting a higher value creates a buffer zone to prevent immediate light deactivation. A typical guide value is 80 lux (dawn).
I will look out for it. though the last one is screenshot for Utility room failed and is also a simple light and motion sensor. no Night mode, just on and off.
Just shifted all the ones with scenes to a simple light. Using the relevent colour and brightness levels.
They donât survive a restart. Just stay permanently on.
Could it be that because the lights are on a zigbee2mqtt connection that the automation starts too soon, before the lights state is recognised as being on?
Your lighting experience, your way â take control and customize it to perfection!
New Feature
Changes to Scenes & Scripts
We have added three new inputs.
Scenes & Scripts - Toggle Helper
Night Lights - Scenes & Scripts - Toggle Helper
Yes - Manage OFF script when crossing over
The purpose of adding these inputs is to ensure the proper functioning of automations when using scenes or scripts. The benefits of adding these inputs include:
You can now adjust the lights associated with your scenes and scripts after they have been activated, preventing them from resetting with each trigger.
With the addition of these inputs, you can create glow lights for night settings within a single automation, eliminating the need for multiple automations. A detailed guide on this process can be found Here.
When using scenes or scripts in conjunction with ambient options, selecting âYesâ for your site conditions will ensure that your lights remain on when the LUX value goes high.
Thereâs no longer a requirement to add just one entity in âLights - Switches - Scenes - Scriptsâ or âNight Lightâ. Simply incorporate a toggle helper into the new âScenes & Scripts - Toggle Helperâ inputs.
By including âYes - Manage OFF script when crossing overâ in the night lights lighting control options, you can ensure that a script runs smoothly when transitioning between normal lights and night lights, even when the lights are off, allowing for different OFF settings to be applied.
Home Assistant (HA) restarts will now recognize whether your scenes or scripts lights are ON and perform the correct actions. This feature can also be helpful when using lights or switches on different platforms, as HA may take longer to recognize their ON status after a restart.
Maintenance
From your feedback to create a manual we have updated a lot of input descriptions to better help understand what they do and also provided more links directly to the blueprint FAQâs. This will hopefully help you find what you are looking for when setting it up.
Code realignment.
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
Awesome @Blacky I do have a feature request for your add-on movie theater blueprint. Reedâs smart home on YouTube had a new video that does a similar thing to your blueprint, BUT he added the ability to have different lights/scenes based on the app on the Apple TV or Chomecast that is open. For example, for Spotify or Apple Music you could not dim the lights, but with Netflix, do a full movie dim. I think app specific conditions would be amazing.
If you would like to turn your your lights, switches, scenes, or scripts ON when the sun sets, then you would select a time well before the sunset and enable the sun condition. This ensures that the trigger is ON well before the sun sets but waits for the sun condition to turn your light ON. Then, the schedule will turn your lights OFF as per your schedule.
Example
This will activate your lights, switches, scenes, or scripts when the sun elevation is below -1.5 because the trigger schedule is active having an ON time 4pm. Conversely, it will deactivate them at the end of your schedule, well before the sun rises above -4.0.
I have a timing problem that I need help with.
I would like the automation to be active between 5 am am 8 am, than again from 4 pm to 9 pm. The automation is off otherwise. How can I achieve this? Time settings only allow one time range. I need it to be triggered by the motion Detector, so a schedule helper doesnât seem to be the answer.
You can use a schedule helper but your ON time will be the opposite to when you would like the automation to be active. Then you would put the schedule helper into the bypass option 2. Below is a example of the schedule. Then you wouldnât use the time option