Skip to content

Commit

Permalink
Merge pull request #1 from DavidFW1960/DavidFW1960-patch-1
Browse files Browse the repository at this point in the history
Changing litelement to hui-view to fix cast
  • Loading branch information
DavidFW1960 authored Aug 11, 2019
2 parents f642f91 + 0ae72c3 commit beabc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bom-weather-card.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #####
// ##### Get the LitElement and HTML classes from an already defined HA Lovelace class
// #####
var LitElement = LitElement || Object.getPrototypeOf(customElements.get("home-assistant-main"));
var LitElement = LitElement || Object.getPrototypeOf(customElements.get("hui-view"));
var html = LitElement.prototype.html;

// #####
Expand Down

0 comments on commit beabc22

Please sign in to comment.