Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danobot/entity-controller
Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.
https://github.com/danobot/entity-controller
entity-controller finite-state-machine hass home-assistant home-automation internet-of-things iot lighting-controller motion-light motion-sensor python smart-home
Last synced: 3 months ago
JSON representation
Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.
- Host: GitHub
- URL: https://github.com/danobot/entity-controller
- Owner: danobot
- License: gpl-3.0
- Created: 2018-11-19T09:26:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-04T13:48:30.000Z (6 months ago)
- Last Synced: 2024-05-05T13:29:04.951Z (6 months ago)
- Topics: entity-controller, finite-state-machine, hass, home-assistant, home-automation, internet-of-things, iot, lighting-controller, motion-light, motion-sensor, python, smart-home
- Language: Python
- Homepage: https://danobot.github.io/ec-docs/
- Size: 5.35 MB
- Stars: 277
- Watchers: 9
- Forks: 41
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
README
[![License](https://img.shields.io/github/license/danobot/entity-controller.svg?style=flat-square)](https://github.com/danobot/entity-controller/blob/develop/COPYING)
[![Blog](https://img.shields.io/badge/blog-The%20Budget%20Smart%20Home-orange?style=flat-square)](https://danielbkr.net/?utm_source=github&utm_medium=badge&utm_campaign=entity-controller)
[![donate paypal](https://img.shields.io/badge/donate-PayPal-blue.svg?style=flat-square)](https://paypal.me/danielb160)
[![donate gofundme](https://img.shields.io/badge/donate-GoFundMe-orange?style=flat-square)](https://gofund.me/7a2487d5)# :wave: 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](https://danobot.github.io/ec-docs/)
## 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
```
## :clapper: 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](images/video_thumbnail.png)](https://youtu.be/HJQrA6sFlPs)
## 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](https://img.shields.io/badge/donate-PayPal-blue.svg?style=flat-square)](https://paypal.me/danielb160)
[![donate gofundme](https://img.shields.io/badge/donate-GoFundMe-orange?style=flat-square)](https://gofund.me/7a2487d5)# 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.