Skip to content

Commit

Permalink
Replaced alerts with logs.
Browse files Browse the repository at this point in the history
Bumped revisions.
  • Loading branch information
twrecked committed Apr 2, 2021
1 parent c65e2ea commit bb8d638
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.2.0b4: replace alert() with logs
use HA icons
0.2.0b3: better mouse handling
0.2.0b2: remove alert() that can happen anytime
0.2.0b1: use package not parcel
...
Expand Down
8 changes: 4 additions & 4 deletions dist/hass-aarlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class AarloGlance extends LitElement {
this._ready = false
this._hass = null;
this._config = null;
this._version = "0.2.0b4"

// Internationalisation.
this._i = null
Expand Down Expand Up @@ -1172,7 +1173,6 @@ class AarloGlance extends LitElement {

config.image_top = image_top.join("|")
config.image_bottom = image_bottom
console.log("here!")
}

getCameraConfigOld( global, local ) {
Expand Down Expand Up @@ -2251,7 +2251,7 @@ class AarloGlance extends LitElement {
this.wsUpdateSnapshot()
.then()
.catch( (e) => {
alert( e )
this._log( e )
})
}

Expand Down Expand Up @@ -2297,7 +2297,7 @@ class AarloGlance extends LitElement {
this.showStream()
})
.catch( (e) => {
alert( e )
this._log( e )
})
} else {
this.showStream()
Expand All @@ -2314,7 +2314,7 @@ class AarloGlance extends LitElement {
this.wsStopStream()
.then()
.catch( (e) => {
alert( e )
this._log( e )
})
}

Expand Down

0 comments on commit bb8d638

Please sign in to comment.