You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: The friendly name fix in #153 may break your configuration. Entities will be created based on the YAML section name but will respect friendly name in frontend.
Note: #156 is the actual release ppull request if you want to check changes. I accidentally merged the PR before filling in all this Commit text information 😞
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).
3
7
4
-
**Latest stable version `v5.1.1` tested on Home Assistant `0.106.2`.**
8
+
**Latest stable version `v5.1.1` tested on Home Assistant `0.109.5`.**
5
9
6
-
## Video Demo
10
+
## :clapper:Video Demo
7
11
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.
I created a demo instance which (over time) will showcase all the different EC features.
13
17
14
18
[Demo Instance](https://ec-demo.danielbkr.net)
@@ -27,6 +31,9 @@ Password: W8VfFdKU2zvS3GHV
27
31
This instance may not be available at all times. Do not raise issues for this. All the confugration is available in the `hass-demo` directory.
28
32
[Buy me a coffee to support ongoing development](https://www.gofundme.com/danobot&rcid=r01-155117647299-36f7aa9cb3544199&pc=ot_co_campmgmt_w)
29
33
34
+
# :boom: Recent Breaking Changes :boom:
35
+
*`v6.0.0` introduces a breaking change if you are relying on the entities `friendly_name` in other automations. See [#153](https://github.com/danobot/entity-controller/pull/153). The release PR is [#156](https://github.com/danobot/entity-controller/pull/156).
36
+
30
37
# Requirements
31
38
This component started out as an AppDaemon script implementation of motion activated lighting but it has since been generalised to be able to control any Home Assistant entity. I have discussed the original core requirements for motion lights [on my blog](https://www.danielbkr.net/2018/05/17/appdaemon-motion-lights.html). The basic responsibilities of EC are as follows:
32
39
* (1) turn on **control entities** when **sensor entities** are triggered
@@ -62,14 +69,6 @@ This FSM implementation is by far the most elegant solution I have found for thi
62
69
63
70
Note that `control_entities == state_entities` unless you specifically define `state_entities` in your configuration.
64
71
65
-
66
-
## 📢 Are you a seasoned Python developer? 📢
67
-
68
-
Help is needed over on issue #101 to get the goodness of automated unit testing going on this project. ✔️🌞💯
69
-
70
-
All the boilerplate for Pytest is set up, but I got stuck mocking the passage of time. 😅 [see #101 for details](https://github.com/danobot/entity-controller/issues/101)
71
-
72
-
73
72
# Configuration
74
73
EC is very configurable. The following documentation section explain the different ways you can configure EC. In its most basic form, you can define:
0 commit comments