diff --git a/dist/compass-card.js b/dist/compass-card.js index a258c97c..bccab7e9 100644 --- a/dist/compass-card.js +++ b/dist/compass-card.js @@ -782,4 +782,4 @@ found at http://polymer.github.io/PATENTS.txt
${this.computeName()}
- `}getCardSize(){return 4}computeName(){if(this._config.name&&this._config.name.trim().length>0)return this._config.name}computeIcon(e){return e&&e.attributes.icon?e.attributes.icon:Te}static get styles(){return xe}static get_degrees(e){return Ae[e]?Ae[e]:0}static get_compass_point(e){let t=Math.round((e+11.25)%360/22.5);return t-=1,t<0&&(t=0),console.log(t),Ve[t]}};e([Z()],ze.prototype,"hass",void 0),e([Z()],ze.prototype,"_config",void 0),ze=De=e([B("compass-card")],ze);export{ze as CompassCard}; + `}getCardSize(){return 4}computeName(){if(this._config.name&&this._config.name.trim().length>0)return this._config.name}computeIcon(e){return e&&e.attributes.icon?e.attributes.icon:Te}static get styles(){return xe}static get_degrees(e){return Ae[e]?Ae[e]:0}static get_compass_point(e){let t=Math.round((e+11.25)%360/22.5);return t-=1,t<0&&(t=0),Ve[t]}};e([Z()],ze.prototype,"hass",void 0),e([Z()],ze.prototype,"_config",void 0),ze=De=e([B("compass-card")],ze);export{ze as CompassCard}; diff --git a/src/compass-card.ts b/src/compass-card.ts index efd995ad..6bd85daf 100644 --- a/src/compass-card.ts +++ b/src/compass-card.ts @@ -214,7 +214,6 @@ export class CompassCard extends LitElement { if (index < 0) { index = 0; } - console.log(index); return COMPASS_ABBREVIATIONS[index]; } }