Upgrades HACS

This commit is contained in:
dfcarvajal
2020-12-27 17:22:59 +01:00
parent 08ef839730
commit 5aa53ae7ae
38 changed files with 2652 additions and 557 deletions

View File

@@ -0,0 +1,14 @@
class GapCard extends HTMLElement {
setConfig(config) {
this.height = ('height' in config) ? config.height : 50;
this.size = ('size' in config) ? config.size : Math.ceil(this.height/50);
this.style.setProperty('height', this.height + 'px');
}
getCardSize() {
return this.size;
}
}
customElements.define('gap-card', GapCard);

Binary file not shown.