You have 3 options to select from, they are âChoose areaâ, âChoose deviceâ and âChoose entityâ
Choose area = is everything you put into an area, devices and entities, automations, everything.
Choose device = is all the entities in the device.
Choose entity = is entity, this and item (light, switch, etc).
If I selected this area it will turn on and off everything in the area. See the â<>â if I click on it it will show entities and or devices in the area. In my case I only have a device in this area. You could have so many things in the area it is up to you and your set up.
If I selected this device it will turn on and off everything in the device. See the â<>â if I click on it it will show entities. I have 2 entities in this device. You could have more but it all depends on what you have done.
Now you can see the two entities I have in this device. For this automation I only what to turn ON and OFF the âOutside Front Door Lightsâ so I will delete the âEntry Lightâ by clicking on the âXâ.
Now the automation will only control the one âOutside Front Door Lightsâ. It will not control control every device and entity in the area, including automation and so on"
Now you know this you can just select âChoose entityâ at the start and not select âChoose areaâ.
Just select the things you would like to turn on and off. Looks like area and or device is not what your looking for, so just select the entities you would like to control and your done. Hopefully this will now meet your expectations. It will control just one light if you set it up correctly.
Currently the night light mode is just time based, but I would like to hear from you. If you have some time could you please provide what state your looking for i.e. Sun, ambient, on, off, numeric etc and also provide your use case so I can understand.
EDIT: The night lights will also have to pass any global optional condition set before it will consider the night lights time.
âIdeas is the first step in turning the invisible into the visible.â
what i was trying to do was based on the state of the alarm armed disarmed etcâŚto engage the night mode since there is a sleep state this way i could set all the motions into a night light mode in one actionâŚ
First things first: Fantastic work.
All functions work as expected.
The only thing that annoys me are the entries in the logger.
Logger: homeassistant.components.homeassistant
Source: components/homeassistant/__init__.py:119
Integration: Home Assistant Core Integration (documentation, issues)
First occurred: 14:46:52 (1 occurrences)
Last logged: 14:46:52
The service homeassistant.turn_off does not support entities scene.flur_decke_licht_motion_morgens
I just canât find the error
Every Sensor trigger its counting up.
The service homeassistant.turn_off does not support entities scene.theater_on
same here please let me know if you sort it out thankx
Logger: homeassistant.components.homeassistant
Source: components/homeassistant/init.py:119
Integration: Home Assistant Core Integration (documentation, issues)
First occurred: March 11, 2023 at 12:34:22 PM (26 occurrences)
Last logged: 11:59:20 AM
The service homeassistant.turn_off does not support entities scene.theater_on
So if you use âYES - My Ambient Light Sensor is affected by the Lightsâ option then this is what should happen. Remember you must have at least one entity in your selection for this option to work. It canât be a scene, area or device it must be a single entity or multiple entities. This also includes night lights if you are using them.
Trigger because your motion was detected and your ambient light is below your set point. Lights ON.
Now that your automation is running it will exclude your ambient light sensor and work of motion.
Once your light/s turn off it will then reset and work of your ambient light sensor again waiting for the next trigger.
No, if you use the âYES - My Ambient Light Sensor is affected by the Lightsâ. It is not a trigger, it is a condition. If you donât use that option and select âNO - My Ambient Light Sensor is not affected by the Lightsâ and your sensor is effected by the lights when they turn on, then if the automation gets another trigger when the lights are on, and you are above your ambient light sensor set point then your lights will turn off after your time delay.
The problem with this is if the Bathroom Fan is on already (e.g. due to another automation or manually on) this means that the Light doesnât turn on due to motion.
Yea if you turn the fan on manually or with another automation then this is not what the tip was for.
This Tip is, if you use this automation (sensor light) and you walk into the bathroom, then the light turns ON and then if you have a shower behind a shower screen where you motion sensor canât detect you and your light turns off then you could use the fan as a by-pass in the sensor light automation to keep your lights ON.
You may consider using a different switch (not the fan) or creating a dummy switch that will be turned on when you use the âbathroom humidity exhaust fanâ blueprint automation. Then put that switch into the sensor light automation by-pass. This way when you run your circulation automation the lights will still turn on and when you run the âbathroom humidity exhaust fanâ blueprint automation the by-pass will be switched on (dummy switch) disabling the sensor light automation.
Thanks for this blueprint, I really like it. I personally use it with an room occupancy sensor as the trigger bypass, works great to leave lights on when sitting still. But also works to ensure they donât come back on when you happen to move in bed.
I have created a modified copy for myself to use for fans: (I live in Australia)
changed the below LUX sensor to an above temp sensor, turn on fan when above 24 deg.
changed the light brightness input to a fan speed input.
I thought I would mention it just in case you wanted to release an alternate version since you did all the work
Feature request in the fan version, some of my fans beep when turning on, so a condition to check if the fan is already on would prevent multiple beeps from repeated turn_on commands.