Skip to content

Commit

Permalink
Update tv-card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlon authored Jun 16, 2019
1 parent 05c8dc8 commit 29665a1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion tv-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class TVCardServices extends LitElement {
this._config = { theme: "default", ...config };
}

render() {
render() {
if (!this._config || !this.hass) {
return html``;
}
Expand All @@ -44,6 +44,28 @@ render() {
${this.renderStyle()}
<ha-card .header="${this._config.name}">
<div class="row">
</div>
<div class="row">
<paper-icon-button
.action="${"power"}"
@click="${this.handleActionClick}"
icon="mdi:power"
title="Power"
></paper-icon-button>
<paper-icon-button
.action="${""}"
@click="${this.handleActionClick}"
icon=""
title=""
></paper-icon-button>
<paper-icon-button
.action="${"power"}"
@click="${this.handleActionClick}"
icon="mdi:power"
title="Power"
></paper-icon-button>
</div>
<div class="row">
<paper-icon-button
Expand Down

0 comments on commit 29665a1

Please sign in to comment.