Skip to content

Commit

Permalink
Merge pull request #134 from twrecked/version-0.2-region-fix
Browse files Browse the repository at this point in the history
Add null check.
  • Loading branch information
twrecked authored Dec 22, 2022
2 parents 6efab74 + 611d652 commit 93d6471
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.2.6: add null check
0.2.0b5: fix plugin icon
0.2.0b4: replace alert() with logs
use HA icons
Expand Down
2 changes: 1 addition & 1 deletion custom_cards.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"aarlo-glance": {
"changelog": "https://github.com/twrecked/lovelace-hass-aarlo/blob/master/changelog",
"remote_location": "https://raw.githubusercontent.com/twrecked/lovelace-hass-aarlo/master/dist/hass-aarlo.js",
"version": "0.2.0",
"version": "0.2.6",
"visit_repo": "https://github.com/twrecked/lovelace-hass-aarlo"
}
}
4 changes: 2 additions & 2 deletions dist/hass-aarlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class AarloGlance extends LitElement {
this._ready = false
this._hass = null;
this._config = null;
this._version = "0.2.0b5"
this._version = "0.2.6"

// Internationalisation.
this._i = null
Expand Down Expand Up @@ -1816,7 +1816,7 @@ class AarloGlance extends LitElement {
this._show( id )

// highlight is on at this level and we have something?
if( show_triggers && video.trigger !== null ) {
if( show_triggers && video.trigger !== null && video.trigger_region !== null ) {
const coords = video.trigger_region.split(",")

let box = this._element( bid )
Expand Down

0 comments on commit 93d6471

Please sign in to comment.