Skip to content

Commit

Permalink
Update ESPHome Dashboard to 1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed May 27, 2021
1 parent 2d95878 commit fe81f86
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ All our adapter documentation can be found at [The DrozmotiX Docu Page](https://
## Prerequisites

* NodeJS >= 12.x
* Python >=3.6, <4.0
* Python >=3.7, <4.0
* API is activated in YAML
* For admin tabs (optional)
* ESPHome Dashboard IP is provided in instance settings
Expand Down Expand Up @@ -117,6 +117,7 @@ If you like my work, please consider a personal donation

### __WORK IN PROGRESS__
* (DutchmanNL) [!!! Breaking !!!] Make YAML file persistent, backup your configuration before updating !
* (DutchmanNL) Update ESPHome Dashboard to 1.18.0, requires Python >=3.7 (and ensure <4.0!)
* (DutchmanNL) Bugfix : Reconnect to devices without autodiscovery / MDNS-Broadcast in network

### 0.2.1-1 (2021-03-30)
Expand Down
2 changes: 1 addition & 1 deletion admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script type="text/javascript">
let _onChange;

// Create secrect for encrypted password storage
// Create secret for encrypted password storage
let secret;
function encryptManuell(key, value) {
var result = '';
Expand Down
2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "esphome",
"version": "0.2.1-1",
"version": "0.2.1-2",
"news": {
"0.2.1-1": {
"en": "add cover component\nadd transitionLength for lights",
Expand Down
4 changes: 1 addition & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ class Esphome extends utils.Adapter {
sendSentry(msg) {
try {
if (!disableSentry) {
this.log.info(`[Error catched and send to Sentry, thank you collaborating!] error: ${msg}`);
this.log.info(`[Error caught and send to Sentry, thank you collaborating!] error: ${msg}`);
if (this.supportsFeature && this.supportsFeature('PLUGINS')) {
const sentryInstance = this.getPluginInstance('sentry');
if (sentryInstance) {
Expand Down Expand Up @@ -962,8 +962,6 @@ class Esphome extends utils.Adapter {
async onStateChange(id, state) {
try {
if (state && state.ack === false) {
// The state was changed
// this.log.info(`state ${id} changed: ${state.val} (ack = ${state.ack})`);
const device = id.split('.');
const deviceIP = this.deviceStateRelation[device[2]].ip;

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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.esphome",
"version": "0.2.1-1",
"version": "0.2.1-2",
"description": "Control your ESP8266/ESP32 with simple yet powerful configuration files created and managed by ESPHome",
"author": {
"name": "DutchmanNL",
Expand Down Expand Up @@ -73,7 +73,7 @@
"."
],
"dependencies": {
"esphome": ">=1.16.2",
"esphome": ">=1.18.0",
"tornado": ">=3.2"
}
},
Expand Down

0 comments on commit fe81f86

Please sign in to comment.