Code Monkey home page Code Monkey logo

danobot / entity-controller Goto Github PK

View Code? Open in Web Editor NEW
281.0 281.0 41.0 5.47 MB

Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.

Home Page: https://danobot.github.io/ec-docs/

License: GNU General Public License v3.0

Python 98.50% Dockerfile 0.11% JavaScript 0.37% PowerShell 0.52% Shell 0.50%
entity-controller finite-state-machine hass home-assistant home-automation internet-of-things iot lighting-controller motion-light motion-sensor python smart-home

entity-controller's Introduction

License Blog donate paypal donate gofundme

๐Ÿ‘‹ Introduction

Entity Controller (EC) is an implementation of "When This, Then That for x amount of time" using a finite state machine that ensures basic automations do not interfere with the rest of your home automation setup. This component encapsulates common automation scenarios into a neat package that can be configured easily and reused throughout your home. Traditional automations would need to be duplicated for each instance in your config. The use cases for this component are endless because you can use any entity as input and outputs (there is no restriction to motion sensors and lights).

Entity Controller Documentation

Installation

EC is available in HACS store. Once installed, add the the following to your configuration.yaml, replacing the values for sensor and entity with one of your own. Reboot your Home Assistant server and you should have a motion controlled light that turns off after 5 seconds.

motion_light:
  sensor: binary_sensor.living_room_motion
  entity: light.tv_led
  delay: 5

๐ŸŽฌ Video Demo

I created the following video to give a high-level overview of all EC features, how they work and how you can configure them for your use cases.

Video

Support

Maintaining and improving this integration is very time consuming because of the sheer number of supported use cases. If you use this component in your home please donate a few dollars or check the issue tracker to help with the investigation of defects or the implementation of new features. I would be happy to receive your pull request.

donate paypal donate gofundme

Contributions

All contributions are welcome, including raising issues. Expect to be involved in the resolution of any issues.

The close-issue bot is ruthless. Please provide all requested information to allow me to help you.

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.