Code Monkey home page Code Monkey logo

Comments (4)

danobot avatar danobot commented on May 20, 2024 1

See v2.4.10.

from entity-controller.

jwelter1971 avatar jwelter1971 commented on May 20, 2024 1

Hi Danny - thanks for the update. Running it now. We've come into some bad weather so it might be a few days to get a real world test completed as need some sun to happen to cause the override to get tripped.

Under some manual testing it seems to do the job.

Thanks!

from entity-controller.

danobot avatar danobot commented on May 20, 2024

This means that override state overrides all other states, including constrained.
Easy to implement, but it is a bit confusing from user perspective to see the entity in override state when it should be constrained. Will investigate if what you suggested is feasable. I do not want to add if/else checks everywhere.

from entity-controller.

jwelter1971 avatar jwelter1971 commented on May 20, 2024

Hi Danny I think constrained should (and does) have priority over any overrides. So when in constrained mode it's completely inactive. That is currently how it works.

The only problem is when it exists constrained mode (and perhaps enter - not tested that specifically) if the trigger for an override is already set it seems to be ignored. If I toggle that override state off/on outside of constrained mode what we expect happens; the lightings goes into overrides mode.

What I would expect is going from constrained-->override mode would occur.

Set example here:

motion_connor_bedroom:
   sensors: 
      - binary_sensor.connor_pir_sensor
   entities: 
      - light.connors_ceiling_fan_light
   state_entities:
      - group.connors_bedroom_lights
   delay: 900
   sensor_type_duration: True
   start_time: '08:00:00' 
   end_time: '19:30:00' 
   overrides:
      - binary_sensor.auto_lights_override

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.