Managed to resolve the issue with the Govee LED strip. Had to change a couple bits, just in case you get any more questions on it thought Iād make your life easier.
Polling Interval:
By default this is set to 10. This hits the Govee API limits within 24 hours. Iāve updated mine to 120 (I have 2 LED strips) and this seems to have reduced the timeouts. If you have more lights, try increasing this further. To make this change go to Settings > Devices & Services then click on Configure under the Govee integration.
Brightness:
The issue with the brightness not being set correctly was resolved by going to File Editor > /config/govee_learning.yaml and changing before_set_brightness_turn_on to true
My lights are now functioning as expected.
Just wanted to say thanks again @Blacky for your help and patience with all the questions you get asked on the daily.
Not realy following you here. Night mode will use the trigger to turn the lights on and off. Would you be so kind to maybe give us a use case so I can understand what you are after?
Please read the breaking change before updating. I hope you all understandā¦ the decision was not easy.
Breaking Change
You can no longer have areas & devices in āLights - Switches - Scenesā and āNight Lightsā. This is to help the automation run correctly. The good news is all you need to do is expand your areas & devices down to entities. To do this, simply click the expand button ā<>ā in areas & devices down to entities (see below) and youāre done. Your final selection should be all green.
Sorry itās not easy to make yourself understood with the translation.
Here is an example that I would like to apply at home.
I have sensors under the bed and I would like when a sensor is activated night mode is used.
If you go into bed, activating night mode would only work if you stay in the bed because once you get out of bed it will be deactivated
so
I will assume that when you get out of bed the lights turn ON being night lights and when you get into bed the lights turn off.
You could use this blueprint but you would need to create 2 automations or you could use this blueprint (sensor Light) and download my other blueprint ā Turn Light, Switch or Scene On & Off with Trigger Conditionsā and use this for your bed sensor. It has a selection for entity as the trigger.
This is how I would set it up.
Use this blueprint (sensor light) make all your selections, donāt use night lights and select the "Use The Time Options " for say āon timeā 7am & the āoff timeā 10pm. Now you could just use this blueprint again or my other blueprint but we need to create another automation for night time. Create another automation, dont use night lights but set up the normal lights for your night lights. Make your selection using your bed sensor as the trigger and set the "Use The Time Options " for āon timeā 10pm & the āoff timeā 7am.
Fixed a bug in night lights āTransition - ONā and Transition - OFF". It was using normal lights transition time rather than night light transition time.
Hi Blacky, Thank you so much for the updates. Iām happy to report my logs are boring again nothing to read, well nothing that has to do with your blueprint that is. You should really consider putting up a donation link. This blueprint is priceless for people that are new to HA or just want to be able to save time. When I was getting all the log errors I decided to write my own lighting automations through the GUI. turned out to be easier then I thought it would be. HA has come a long way when it comes to ease of use and figuring things out without having to do lots of research. As soon as you posted the latest update I upgraded and deleted most of my lighting automations. Such a time saving blueprint, thanks Again
This blueprint keeps getting better and better! I use it in a lot of locations in the house, but there is one scenario I would like to see supported. Because my motion sensors are not very sensitive they often time out in the rooms where we watch TV, so I use a different blueprint that keeps them on if the Harmony remote is on.
The Trigger Sensor By-pass Option (using If lights are ON, leave lights ON) works if I turn the TV on after the automation is triggered, but if the TV is already on then the automation will not trigger.
I understand this is by design, but would it be possible to have an additional option to enable the bypass and turn on the lights if they are not already on?
Many thanks!
Iām having issue with the automation not triggering.
Iām using v3.3.
I created an automation and added my door sensor to it and the lights in the room and i didnt change anything else.
when i open and close the door nothing happens and the automation doesnt trigger any ideas?
This is very strange. Have a look at your door sensor and check if it is going ON and OFF in the developer tools / states / then in set states select you door sensor and then open and close it. You will need to hit the refresh to see the state change.
Yes, I tried this before and it did not work reliably. The Harmony remote sensor is either On or Off depending on the state of the TV and there is a separate sensor that shows what activity is active.
There are two scenarios - 1. The TV is off and someone enters the room and turns the TV on: this works fine with your Blueprint as it prevents the TV from turning off.
2. The TV is on and someone enters the room: this does not work as the TV being on blocks the automation from being triggered. Grouping the remote into the trigger wonāt work, as the TV is already on.
The Blueprint I use in the TV rooms has a Turn-off Blocking Entity:
This does what I want in both scenarios, but it does not have all the additional features that yours does
Also, Iād rather standardise on a single Blueprint.
Thanks.
I am not familiar with Harmony remote sensor. If your Harmony remote sensor turn ON when the TV is ON and stays ON then if you group it into the trigger, when you turn ON the TV is should turn ON the lights and they should stay ON until the Harmony remote sensor is OFF.
So if you walk into a room the light should turn on with motion. Then if you turn on the TV, and the Harmony remote sensor turns ON (that is grouped with motion sensor as the trigger, must be grouped not added individually) then lights should say ON until you turn OFF your TV, that then turns OFF your Harmony remote sensor and then your motion sensor doesnāt detect motionā¦ lights OFF.
From what I can recall, I tried this some time ago and it worked, up to a point. I realised this when I went to create the group and it was already there.
Sadly, I canāt remember what the problem was and given that the Blueprint and HA have changed a lot since then, Iāll give it another go.
Iāve just replaced my custom automation with this blueprint as a trial in our family bathroom. We have five GU10 Zigbee bulbs, a Aqara door contact and an Aqara presence sensor plus a generic lux sensor. I have put the door contact and motion sensor in a binary sensor group and use that in your blueprint.
The use case is opening the bathroom door should trigger the lights and the motion sensor keeps the lights on. However, my kids have a bad habit of leaving the door open so the door contact never clears. Short of them learning to be more tidy, is there anything I can do with your blueprint to keep the door sensor within the sensor group and also deal with the door being left open.
Iāve not had chance to monitor it as yet but does the blueprint turn off the lights after 10 minutes of no activity within the binary sensor group - so assuming no motion and the door doesnāt send the closed signal, the binary sensor group will not change for X minutes, is that enough to trigger the timeout?
I was happy to find that I could use my existing helpers (for night start/end and timeout values) within your blueprint by simply enabling YAML mode and putting in the entity names.
Not sure Iām really qualified to answer this as all my automations are in their infancy butā¦
I have my door sensor on a seperate automation. All it does is turn on the light when the contact/door sesnsor changes from closed to open and nothing else. The Sensor Light automation then takes over when to turn off the lights as the motion of the door opening will have triggered the motion sesnor, and hence this automation.
The only issue I could foresee with this is that with the window open, the wind opens the door ever so slightly, enough to trigger the door sensor, but not the motion sensor and hence the light doesnāt switch off until the next person visits the bathroom.
Nice, I will have to remember to ask that question if someone else has the same question as you did. Thanks for letting us know as it will help me help others .