diff --git a/slider-entity-row.js b/slider-entity-row.js index 68370b2..e85c899 100644 --- a/slider-entity-row.js +++ b/slider-entity-row.js @@ -1,6 +1,8 @@ class SliderEntityRow extends Polymer.Element { static get template() { + if(!this._hass || !this._config) + return Polymer.html``; const style = Polymer.html`