Skip to content

Commit

Permalink
Merge pull request #135 from twrecked/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 4a7b29f + 14f6a80 commit 44b2de0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.3.0a2: check for region null value
support chromecast devices
0.3.0a1: set up stream view programatically
add both locks and lights to the stream view
remove old configuration support
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.3.0a2",
"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 @@ -105,7 +105,7 @@ class AarloGlance extends HTMLElement {
super();

// current version
this._version = "0.3.0a1"
this._version = "0.3.0a2"

// State and config.
this._ready = "stopped"
Expand Down Expand Up @@ -1683,7 +1683,7 @@ class AarloGlance extends HTMLElement {
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 44b2de0

Please sign in to comment.