GithubHelp home page GithubHelp logo

Comments (2)

bavo avatar bavo commented on July 30, 2024 1

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.

th3w1zard1 avatar th3w1zard1 commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.