File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " remote-card" ,
3- "version" : " 1.5 .0" ,
3+ "version" : " 1.6 .0" ,
44 "description" : " Lovelace Remote Card" ,
55 "keywords" : [
66 " home-assistant" ,
Original file line number Diff line number Diff line change 1- export const CARD_VERSION = '1.5 .0' ;
1+ export const CARD_VERSION = '1.6 .0' ;
Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ export class RemoteCard extends LitElement {
103103 padding: 16px 0 16px 0;
104104 }
105105 img,
106- ha-icon-button {
106+ ha-icon {
107107 cursor: pointer;
108108 }
109- ha-icon-button {
109+ ha-icon {
110110 --mdc-icon-button-size: 64px;
111111 --mdc-icon-size: 48px;
112112 }
@@ -137,7 +137,7 @@ export class RemoteCard extends LitElement {
137137 private _renderButton ( button : RemoteButton ) : TemplateResult {
138138 if ( 'empty' in button && button . empty ) {
139139 return html `
140- < ha-icon-button > </ ha-icon-button >
140+ < ha-icon icon =" mdi:none " > </ ha-icon >
141141 ` ;
142142 }
143143 button = button as ActionRemoteButton ;
@@ -163,15 +163,16 @@ export class RemoteCard extends LitElement {
163163 return html `
164164 < ha-icon-button
165165 .button =${ button }
166- icon =${ button . icon || 'mdi:radiobox-marked' }
167166 title =${ button . title || '' }
168167 .action_config=${ actionConfig }
169168 @action=${ this . _handleAction }
170169 .actionHandler=${ actionHandler ( {
171170 hasHold : hasAction ( button . actions ?. hold_action ) ,
172171 hasDoubleClick : hasAction ( button . actions ?. double_tap_action ) ,
173172 } ) }
174- > </ ha-icon-button >
173+ >
174+ < ha-icon .icon =${ button . icon || 'mdi:radiobox-marked' } > </ ha-icon >
175+ </ ha-icon-button >
175176 ` ;
176177 }
177178
You can’t perform that action at this time.
0 commit comments