Hi Blacky,
-
the night lights working so far. And it wasnāt night, the automation was turned off.
-
As for the scene to turn off the lights, you can see, that the lamp is turned off in the scene.
-
with the lights cranked to 100% and a bright image from my monitor, I usually have 520 to 550 lux. I have learned that you should have at least 500 lux in your working space, when working with a computer. So thats why I have this range minimum 500 to 600 lux.
-
Thats correct and the way I want it. I donāt need the lights being on, when I am not working on the computer.
-
That is also correct. I want the lights to stay off or turn off if the computer is also off.
But right now I started my gaming PC. And both automations for working and gaming lights started, with the working lights being the one handeling the lights.
I checked if my binary sensor for working was activeted but it says it was active last time two days ago:
But the automation started:
The binary sensor for gaming was active:
Or right know. I restartet my gaming PC. In HA I can see, that the automation was triggered:
But the light did not turn on. So I checked the script to start the colorloop. It was not activeted with the automation:
If I activate the script manually, the light turn on and goes into colorloop.
So maybe something isnāt right with the toggle helper?
I created that one through your blueprint.
I lokked at the code, and see, that there is a āend_sceneā which I canāt even remember to put into the automation. I can also not find it anywhere in the automation in GUI style. But the end_scene I actually put in through the GUI is not mentioned in the code.
alias: Gaming Licht PC
description: ""
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.gaming_pc_an
light_switch:
entity_id: script.colorloop_hue_arbeitsplatz
boolean_scenes_scripts: input_boolean.hue_starten
end_scenes:
- scene.wohnzimmer_start
time_delay: 3
I have tried putting in another scene, saving it, put back my actual wanted scene, saving it, but the code did not change. This is in both automations. I know, I started with that scene in āArbeitslichtā, but I switched to the other scene, as I got a knew lamp and found it more convinient to just delete the old scene, create a new one, and put it into the automations.
Can I just erase the line and then put back my end_scene?