• Stars
    star
    293
  • Rank 141,748 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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).

Latest stable version is v9.4.0 tested on Home Assistant 2022.7.4.

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.

More Repositories

1

notorious

Offline-first note taking and knowledge management application for desktop and the web. Supports nested notebooks, tags, real-time sync, images and file attachments. Optimised for efficiency with keyboard navigation, full-text search and version control. Never lose a thought. Private, fast, notorious ๐Ÿ˜ˆ
TypeScript
117
star
2

gitlab_task_manager

Microsoft Todo inspired task manager leveraging Gitlab's Issue Tracker as the backend
JavaScript
25
star
3

mqtt_payload_processor

Custom Home Assistant component that converts MQTT message payloads to events and callback functions for consumption in automations. Can be used to assign schedule-based actions to remote controls or button wall panels.
Python
10
star
4

ha-api-tool

AngularJS App for discovering Home Assistant Entitities, Events, States and attributes.
JavaScript
7
star
5

rfgateway

Simple RF receive and send Docker images that translate MQTT to RF and vice versa for use in Home Assistant
Python
6
star
6

mqtt-audio-buzzer-rpi

Simple Docker Image that turns a Raspberry Pi into a simple MQTT-controllable buzzer for audio feedback in Home Automation
Python
4
star
7

meteorologic_metrics

This component calculates psychrometric states of moist air using ASHRAE 2009 Fundamentals formulations. Atmospheric pressure, and humidity must be given to calculate the other propreties.
Python
4
star
8

camera_amcrest

PTZ controls and WAV audio player for amcrest camera.
Python
2
star
9

jekyll-browser-start

Browser homepage optimised for speed of access. Static Browser start page generator with quick search, tags, and categorisation by tabs and cards.
JavaScript
2
star
10

temperature-alert

Receive a reminder to open windows when outside temperatures dip below the temperature inside your house. (useful in hot climates to maximise cooling effect of evening breeze)
Python
2
star
11

node-red-spotify-automation

JavaScript
1
star
12

cooler_efficiency

This sensor component calculates the efficiency (%) of your evaporative air conditioning system given sensory inputs such as temperature, humidity and atmospheric pressure.
Python
1
star