Skip to content

Commit

Permalink
Merge pull request #53 from m4dm4rtig4n/0.7.3
Browse files Browse the repository at this point in the history
0.7.3
  • Loading branch information
m4dm4rtig4n authored Nov 17, 2021
2 parents b65eea1 + 07cb9df commit 9d3b41b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@ make start

## Change log:

### [0.7.3] - 2021-11-17

- Fix debug

### [0.7.2] - 2021-11-17

- Fix OFFPEAK_HOUR bug

### [0.7.1] - 2021-11-16

**BREAKING CHANGE - All configuration is now in config.yml**
Expand Down
2 changes: 1 addition & 1 deletion app/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.2
0.7.3
6 changes: 5 additions & 1 deletion app/myenedis.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,11 @@ def variation(val1, val2):
f.publish(client, f"sensor/{path}/state", str(state), ha_autodiscovery_prefix)
f.publish(client, f"sensor/{path}/attributes", json.dumps(attributes), ha_autodiscovery_prefix)

if main.config['debug'] == True:
if not "debug" in main.config:
debug = False
else:
debug = main.config["debug"]
if debug == True:
pprint(attributes)

return ha_discovery
Expand Down

0 comments on commit 9d3b41b

Please sign in to comment.