Trigger Time, you have only enable to use the OFF timeā¦ you need to enable the ON time. Once yo enable the ON time then your time is ON at 12:25 am and OFF at 9:30 pm. I could be wrong but you may be after ON at 9:30 pm and OFF at 12:25 am if so adjust the times to your liking.
Lights you can use devices only entities can be used. The link I am about to provide will link you to my sensor light blueprint FAQ but is the same as this blueprint and shows you how to expand down your device to entities. Click Here
Weekdays Option because you have selected it to run every day then you donāt need to enable this option. Use this option when you want to limit the days it should run. Disable this option.
Night Lights Settings you have enabled night lights but you have no lights selected or a condition to activate night lights. I think you would like this disabled.
I have fixed up you YAML below but you will still need to do expand down you device to entities as shown in item 2 above and make sure your ON and OFF times are correct as shown in item 1 above.
Thanks, will do! What would be the trigger sensor? Since I donāt want it to work based on motion but just based on lux + condition on when Iām home. Time is also not a great trigger because it can rain during the day or I can watch a movie at 1 AM. I use this Sensor Light blueprint for my bathroom/toilet/bedroom/hall and it works really well there! But not sure how this would work.
I am digging more into your script and wanted to know if you can help with the light transition. I see that if I chose RGB I can only set one color and I am not sure what the transition refers to. I thought that I could chose more than one color and the LED would have transitioned the different colors.
The following is the for the Light Control that shows the Red only. Is it possible to add more colors instead of being static in one only?
Thank you so much!
Sorry for the confusion! Let me rephrase. The light should turn on and get its brightness changed based on the illuminance sensor (which is part of my Hue motion sensor). Also when Iām home and when a sensor Awake=on. (Which gets set automatically every day when I get into the living room and gets turned off when I go to sleep at night) Motion is not relevant as Iām often sitting still in the living room.
If I use the Sensor Light blueprint, I need to specify a binary sensor as the trigger sensor which I donāt think is relevant because it just needs to use the illumination sensor. And when I use the Smart Light blueprint, itās not turning on my light when illuminance is below the threshold.
So the Smart Light blueprint will do it for you but you will need to create a template binary sensor to use in the bypass. This template binary sensor should be configured as follow
Awake = ON and you are home = Binary sensor OFF
else binary sensor ON
Then you use this in the bypass option 2 and set up you ambient.
Aaah I think I see it. I used the dev tools to play with the inputs. Letās say I set low lux value to 20. When my motion sensor reports 0 or 5, the automation doesnāt trigger while I was expecting it to. It needs to cross from 21 to 19 to be effective. Is there a reason the blueprint works like that instead of just always triggering and checking if the value < 20? There is probably a good reason you implemented it like that. Thanks!
Also another interesting scenario I noticed is when I switch back from night light to normal light mode that the brightness goes from 50 % (the night light value I set - good) to 54 % instead of 100 % which is what the dynamic lightning should control. If I then go and force the lux value of the illuminance sensor to e.g. 0, it goes back to 100 % (which is in line with my dynamic lightning setting). If I disable dynamic lighting and enable the option āUse Brightnessā under Light Control, it goes to 100 %, so this looks like an issue with dynamic lighting.
switch.light_living_room_night_light_scene is a simple switch that turns on when my Apple TV is playing and off when it pauses. Any idea what that could be? Here is my current config:
I have a light entity which supports RGB, e.g. light.ok_to_wake_light. I see the ability to set one RGB value along with a schedule, but in my case I want the following different colors:
7pm - blue (0, 0, 255)
8:30pm - red (255, 0, 0)
6:30am - green ( 0, 255, 0)
9am - off (0, 0, 0)
How can I have a schedule like this? My apologies Iād love to not have to ask, but I couldnāt figure it out on my own.
This is how automations work, they have a trigger point.
You will notice your dynamic lighting step value is 4% so that is why it is 54% to slowly go to the brightness. Then at ever heartbeat your light will change 4% untill it gets to its value.
You will need to create a script with a choose. Below is your YAML for a script. Just create a new script, edit in YAML and paste this in. Then edit in visual editor and expand out the 4 actions and replace / change your light entity. Save and then add this into lights. Make sur you create another scene or script with the light OFF and add it into Scenes - Scripts To Turn OFF then also add a toggle helper into Scenes & Scripts - Toggle Helper.
I am trying to trigger a device (a wall wifi switch connected to a dehumidifier) using your automation when the humidity goes above a certain percentage (humidity sensor). I have created an automation that links to your automation. However it is not working. I would also like to have the switch to go off when the humidity sensor goes below a certain percentage and then shut off the dehumidifier. Here is the YAML. Or can I do all of this just using your automation? Can you help me with this? Thanks1
alias: Crawl space wall plugin ON when humidity >56%
description: Crawl space plugin ON when humidity >56%
triggers:
- type: humidity
device_id: 3977a68e58081ca5f6101781f3712f4c
entity_id: bb0e6d16f7bb87a7c99eea670a3386a3
domain: sensor
trigger: device
above: 56
conditions: []
actions:
- action: automation.turn_on
data: {}
target:
entity_id:
- automation.crawl_space_dehumidifier_1_front_on_off
mode: single
Sorry, please donāt post your questions about your automation here. This post is for this blueprint only. Please create a separate topic and ask the questionā¦ there are many community members willing to hep you.
That is the end you just need to move to the right to see the trace. It is a big one with a lot going on.
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā</>ā and paste code in there.
No needed anymore. The automation works like charme, since it was triggered by the āsunā. I thought while setting up or testing it, it would run because the sun was down.
Awesome work. Saved me alot of headacheā¦ ā donation