QQ is there a way to enable automation when this blueprint is running?
Use case:
I currently use sensor light blueprint with a motion sensor which gets disabled when Sensor light add on is running
I have a second sensor light automation running off the same motion sensor but with min brightness so if someone triggers the motion sensor they still get some light but not enough to interrupt the movie watching and will turn off the light once motion is no longer detected.
This automation is then disabled when the sensor light add on is turned off.
Another side question is there a way to use sensor light add on without using “Lights - Switches - Scenes *” I dont have anything i would like to turn on when starting this automation but this seems to be a requirement.
For some reason the by pass toggle doesnt get turned off at the end of the automation this might be more an issue with nvidia shield from what i can tell but hoping you have dealt with this issue before,
Easy way to do this is to create a binary template sensor and have it toggle opposite to your other by-pass entity.
Example: You have a by-pass now probably use in the automation link that gets turned ON and OFF. Create and template sensor so when this by-pass is ON the template sensor is OFF and visa versa. Then use this template sensor in your second sensor light automation.
To do this go into settings / devices & services / Helpers tab / create helper / select template / create binary sensor / add name and in state template add this code with you entity id of your automation link by-pass. So replace “input_boolean.your_by_pass_automation_link_entity_id_here” with your by-pass entity id.
Now you have another by-pass that will automagically toggle opposite to your original automation link by-pass (OFF will be ON and ON will be OFF) and use this one in your second sensor light automation by-pass.
Not sue why you would like to do this but just create a scene with nothing and add it in.
If not can you provide a screen shot of your blu-ray in developer tools / states
If you can then look for the states when you turn it ON and OFF etc and just add the states in the automation by typing them in and hit enter. Make sure your caps are correct, same / same, copy paste.
Hi Blacky, thanks for the blueprint, I am having issue trying to get a my Samsung TV to turn on a light in our TV room when we switch on the TV, and switch off light when the tv switches off.
I can get the light to turn on if I run the commend from the blueprint page., But will not work when i manual turn on or off the TV,. I am using the remote control that came with the TV
copy of the file
alias: test tv room light
description: "TV Light control "
use_blueprint:
path: Blackshome/sensor-light-add-on.yaml
input:
trigger_entities:
- update.samsungtv_smart_update
- remote.samsung_6_series_55
trigger_on_state:
- “on”
trigger_off_state:
- “off”
light_switch:
entity_id: light.tv_room_light_dimmer
light_colour_temperature: 7600
include_sun: sun_enabled
We know the blueprint works as when you manually run it, it works. I sometimes have this to with my apple TV and I have to toggle the remote on and off… that is just terrible. There must be a bug in Apple TV to HA on waking it up and I hope someone will fix it one day. You may find you have similar problem with your remote. To test it go into developer tools / states / then search for your remote/entity that controls the states use in the automation and see when you use the remote if the state changes.
Hey Great blueprint! Just wondering if there is a way to input media content to differentiate between tv show and movies? I’ve tried to input a few different attributes from the developer tools into the trigger-entity drop down but no luck. Thanks
not only with the lights, I need your help here too.
I use this blueprint to switch my cinema lights in the living room and in the split kitchen. The lights go off in the living room and one goes on in the kitchen, which is the perfect light for an evening at the cinema. I’ve also linked it to a lux value.
The good thing is, it works as I want it to; but as always only one thing is very strange!
I have set that the automation should no longer be executed when the state is “idle”, which also works great, whenever I click on pause or end “idle”, exactly what I want is triggered.
But my media apps Emby or the Sony TV have a function like netflix “next episode” starts in 25 seconds (displayed on the screen). If I wait for this message and the next episode starts, the state goes from “playing” briefly (really briefly) to idle and then back to playing and the light in the kitchen stays off, as if the switching back and forth is really too fast. I’ve already tried working with the delay, but that only applies to pause, doesn’t it?
Hi, i have 2 questions/additions because i have made something like that as an automation for myself but with way less options. (Thanks for this!)
I have tried to edit the blueprint but i thought id just ask it here:
Trigger addition:
This might already be included, but i could not corfirm it.
If i watch a movie when the sun is up, does the sunset trigger this? I have this in mine and it is wonderful…
Condition:
I would like the automation to only start if it is after a set time, because if my children are watching something before going to bed i don’t need them to sit in movie mode
I thought of the sun condition, but in winter the sun sets at 6pm and my children go to bed a little bit later that this.
The time delay should stop it for turning ON your kitchen lights. Thanks for your YAML… I see this is one I missed as your post was 5 days ago. If all is good now please let us know if not I will have to test it with your set up to see what it happening.
I am wondering if anyone has a PlayStation in HA that would be able to give me 3 screen shots of the attributes when they are playing a game, watching a movie or listing to music. You will need to go into developer tools / states / find your PlayStation entity and take a screen shot of it. This way I can make an option for your lights when this is happening. Example Playing a Game and all your lights go into a game mode, nice hay. Below is my Apple TV as an example.