Comments (2)
I'm just now thinking this solution might not work, because the sleep brightness is not set for each light individually but globally for each room. And I feel like it would be overkill to force people to make multiple AL configurations for a single room.
A solution would be an extra multi-select list of lights which should not turn on in sleep mode?
Other solutions that might work?
from adaptive-lighting.
Not 100% sure, but perhaps this PR addresses what you're looking for?
#568
Otherwise you could use an automation that fires whenever the sleep event is triggered. I don't have hass setup on any device atm but I remember in the event it'll pass the light group(s) entity ids which you can scan for. The automation would be setup to just keep the light off Nope this wouldn't work as the integration would still call light.turn_on
before the automation starts.
I'm just now thinking this solution might not work, because the sleep brightness is not set for each light individually but globally for each room. And I feel like it would be overkill to force people to make multiple AL configurations for a single room.
So for the room in question what you could do is have two configurations: one that you're currently using and the other specifically for use with the sleep switch.
so it would be awesome if I could set the sleep_brightness to 0. (currently the docs say only 1-100 is allowed)
I can't see why you'd want a zero brightness sleep switch, that'd be the same as an off call which can already be done with an automation.
from adaptive-lighting.
Related Issues (20)
- Changed group members not adjusted by adaptive lighting HOT 3
- Light entities created by `Change device type of a switch` are not in the list of light entities to pick from HOT 2
- [Feature Request] Similar brightness graph as color temp graph
- Sleep Mode Doesn't Support RGBW
- Possible race condition in 1.22.0 HOT 3
- Monitor events in addition to interception HOT 1
- Meross MSL100 Dimmable Light Not Appearing
- Unresponsive light with adaptative lightning HOT 1
- Lights not being continuously updated/adapted HOT 4
- Light not adapting HOT 4
- Detected that custom integration 'adaptive_lighting' accesses hass.helpers.entity_component. HOT 2
- Detected code that calls async_forward_entry_setup HOT 3
- AL fails to detect native HA turning on of Hue lights (eg light.turn_on service call) and marks them all as manually controlled. Workaround is to enable "detect_non_ha_changes" but that's unreliable HOT 35
- adaptive_lighting.apply does not set color temperature when "turn_on_lights" is set to "false" HOT 1
- Add Support for Dim to Warm Bulbs
- Adaptive Lighting Sleep Mode dims light during day HOT 2
- Integration fails to load if sleep/brightness/color switch is disabled
- Feature Request: Cap color temp HOT 2
- Sun Events Order Error HOT 2
- Zigbee2mqtt to fast for adapt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptive-lighting.