Code Monkey home page Code Monkey logo

Comments (7)

danobot avatar danobot commented on May 20, 2024

Can you explain more?

from entity-controller.

cbho avatar cbho commented on May 20, 2024

Sure:
Now you can make settings for "Day" and for "Night".
But I'd like to have a few more (like day, evening, night, and cleaning).

For cleaning mode, I want all lights to be full brightness, to stay on for longer, and so on

I'm aware of the 'override' and 'state' - but if I wan't a specific set of settings to be applied when - and only when - 'cleaning mode' is 'on' I'll have to make a "inverted-cleaning-mode"-boolean that is 'on' when I don't want these settings to be applied and 'off' when they should - as well as it is necessary to make a "double up" on settings, as it counts for most of my lights - and soon we'll back to the old "zillion of copies of the same automation" (which I'm in the process of getting rid of due to your work 👍).

In other words, I guess it's some kind of integration/cooperation with the concept of "house modes" that I'm trying to describe :-)

from entity-controller.

danobot avatar danobot commented on May 20, 2024

Adding night_mode was very presumptive to begin with. I will think about this because it will make the component less "motion lighting" specific (which is a good thing as its usecases are very diverse).

from entity-controller.

Klagio avatar Klagio commented on May 20, 2024

I guess this can be merged with my request

from entity-controller.

stale avatar stale commented on May 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from entity-controller.

jasonwilk avatar jasonwilk commented on May 20, 2024

This is the feature that I'd been hoping for. It was the only thing that had me hesitating to try entity controller in the first place. Besides the lack of this, this has been a great add-on for my Home Assistant install.

My use case: My wife prefers dim lights in our office when she's working early in the morning (25%). We need 100% during the day. Then I'd prefer to have about 60-70% after sunset. I'd also change the light color depending on time of day. I could probably rig all of this up by including the same sensor and bulb groups in non-overlapping entity controller objects. But I'd like to have it all in one.

Regardless, thank you for your work, @danobot .

from entity-controller.

danobot avatar danobot commented on May 20, 2024

What is the motivation for having this all in one EC object? I was looking into this and it would be a lot of work to support it and we wouldn't achieve anything that can't already be configured with the component.

It doesn't simplify the configuration either because you'd have to define config for each mode anyway. All we are saving is a few lines defining the entities plus some.

This is not really a good reason to introduce a complex feature such as handling more modes as it would impact most of the code base and make it even more difficult to comprehend.

Creating non overlapping instances is the way to achieve multiple modes.

from entity-controller.

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.