diff --git a/src/index.js b/src/index.js index 07a780c..ea1596d 100644 --- a/src/index.js +++ b/src/index.js @@ -301,9 +301,9 @@ class BannerCard extends LitElement { const htmlContent = this.renderValue( { ...data, value, unit, click: action }, () => html` - + ${value} ${unit} - + ` ); return html` @@ -338,16 +338,19 @@ class BannerCard extends LitElement { icon="mdi:skip-previous" role="button" @click=${this._service(domain, "media_previous_track", entity)} + > @@ -381,12 +384,12 @@ class BannerCard extends LitElement {
${entityName(name, onClick)} - - +
`; @@ -404,17 +407,20 @@ class BannerCard extends LitElement { icon="hass:arrow-up" role="button" @click=${this._service("cover", "open_cover", entity)} + > diff --git a/src/styles.js b/src/styles.js index 275db38..ef0dece 100644 --- a/src/styles.js +++ b/src/styles.js @@ -130,7 +130,7 @@ export default css` width: 90%; } - .entity-value ha-icon { + .entity-value ha-icon:not([disabled]) { color: white; }