Code Monkey home page Code Monkey logo

Comments (8)

danobot avatar danobot commented on May 20, 2024

It;s unlikely this will be implemented any time soon because it requires a major changes in how the code works and is set up.
What might help is templated overrides. Would that allow you to achieve what you need?

from entity-controller.

ugleatle avatar ugleatle commented on May 20, 2024

Thanks for the feedback. It is solvable with template sensors, just a bit more of a hassle, but I will just use that. Thanks for the great work, and maybe those features will appear some time in the future.

from entity-controller.

danobot avatar danobot commented on May 20, 2024

I use template sensors myself. It's important not to make the component too complex or reinvent the wheel. There is a home automation system whose features can be used together with this component.

It would also be nice if there was an "override on off", option in addition to the default "override on on"

Try defining custom state strings, it is shown in the readme :) That might help as well.

from entity-controller.

ugleatle avatar ugleatle commented on May 20, 2024

Sorry to be bothering you, but I didn't understand how to use custom state strings to "Override on off", i tried: override_off_state: input_boolean.test, but that doesn't seem to do anything. So I am probably misunderstanding something fundamental.

from entity-controller.

danobot avatar danobot commented on May 20, 2024

You want override on OFF state? Then make the override state string contain "off" that way the override will be active when the override entity is off.
There is an example code snippet shown

from entity-controller.

ugleatle avatar ugleatle commented on May 20, 2024

I realize you have no obligation to perform tech support to slow users, but unfortunately i am not able to get it to work, based on the info in the chapter in the readme. If you can be bothered having a yaml-code example in the readme would be great.

from entity-controller.

eifinger avatar eifinger commented on May 20, 2024

@ugleatle this is my configuration for your use case:

---
entity_controller:
  oben_treppe_motion_trigger:
    sensor: binary_sensor.presence_stairs
    sensor_type: duration
    entity: light.upper_stairs_yeelight
    delay: 60
    override_states_on: "off"
    override_states_off: "on"
    overrides:
      - input_boolean.oben_treppe_motion_trigger
    service_data:
      brightness: 100
    night_mode:
      delay: 60
      service_data:
        brightness: 1
      start_time: 'sunset + 02:00:00'
      end_time: 'sunrise'

from entity-controller.

danobot avatar danobot commented on May 20, 2024

Thanks @eifinger , apologies @ugleatle i did not see your comment because this is a closed issue.

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.