Skip to content

Commit

Permalink
chore(release): 4.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
danobot committed Dec 17, 2019
1 parent e0a2a96 commit afbd80f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="4.1.5"></a>
## [4.1.5](https://github.com/danobot/entity-controller/compare/v4.1.4...v4.1.5) (2019-12-17)


### Bug Fixes

* Add state transition for [#98](https://github.com/danobot/entity-controller/issues/98) to ensure requirement 3.2 is fulfilled. ([e0a2a96](https://github.com/danobot/entity-controller/commit/e0a2a96))



<a name="4.1.4"></a>
## [4.1.4](https://github.com/danobot/entity-controller/compare/v4.1.3...v4.1.4) (2019-12-17)

Expand Down
10 changes: 7 additions & 3 deletions custom_components/entity_controller/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Entity controller component for Home Assistant.
Maintainer: Daniel Mason
Version: v4.1.4
Version: v4.1.5
Documentation: https://github.com/danobot/entity-controller
Issues Tracker: Report issues on Github. Ensure you have the latest version. Include:
* YAML configuration (for the misbehaving entity)
Expand Down Expand Up @@ -32,7 +32,7 @@
CONSTRAIN_START = 1
CONSTRAIN_END = 2

VERSION = '4.1.4'
VERSION = '4.1.5'
SENSOR_TYPE_DURATION = 'duration'
SENSOR_TYPE_EVENT = 'event'
MODE_DAY = 'day'
Expand Down Expand Up @@ -64,7 +64,10 @@
{'name': 'active', 'children': ['timer', 'stay_on'],
'initial': False}]

FORMAT = "[%(filename)s:%(lineno)s - %(funcName)20s() ] %(message)s"
logging.basicConfig(format=FORMAT)
_LOGGER = logging.getLogger(__name__)

devices = []
MODE_SCHEMA = vol.Schema({
vol.Optional(CONF_SERVICE_DATA, default=None): vol.Coerce(dict), # Default must be none because we differentiate between set and unset
Expand Down Expand Up @@ -317,8 +320,9 @@ def __init__(self, hass, config, machine, entity):
self.start = None
self.end = None
self.reset_count = None
logging.setFormatter(logging.Formatter(FORMAT))
self.log = logging.getLogger(__name__ + '.' + config.get(CONF_NAME))
self.log.setLevel(logging.DEBUG)

self.log.debug(
"Initialising EntityController entity with this configuration: " + str(
config))
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "entity-controller",
"version": "4.1.4",
"version": "4.1.5",
"description": "Entity Controller (EC) is an implementation of 'When This, Then That' 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.",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion tracker.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"entity_controller": {
"version": "4.1.4",
"version": "4.1.5",
"local_location": "/custom_components/entity_controller/__init__.py",
"remote_location": "https://raw.githubusercontent.com/danobot/entity-controller/master/custom_components/entity_controller/__init__.py",
"visit_repo": "https://github.com/danobot/entity-controller",
Expand Down

0 comments on commit afbd80f

Please sign in to comment.