From 76780e4b224aba2ab87fb5d58226cbebd55579ee Mon Sep 17 00:00:00 2001 From: Zsolt Kozaroczy <kiskoza@gmail.com> Date: Tue, 26 Apr 2022 14:37:43 +0200 Subject: [PATCH] fix: Fix hovering labels for ha-icon-buttons (#372) --- src/vacuum-card.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vacuum-card.js b/src/vacuum-card.js index b8e6c291..f338a5a3 100755 --- a/src/vacuum-card.js +++ b/src/vacuum-card.js @@ -451,7 +451,7 @@ class VacuumCard extends LitElement { this.callAction({ service, service_data }); }; return html` - <ha-icon-button title="${name}" @click="${execute}"> + <ha-icon-button label="${name}" @click="${execute}"> <ha-icon icon="${icon}"></ha-icon> </ha-icon-button> `; @@ -460,7 +460,7 @@ class VacuumCard extends LitElement { const dockButton = html` <ha-icon-button - title="${localize('common.return_to_base')}" + label="${localize('common.return_to_base')}" @click="${this.handleAction('return_to_base')}" ><ha-icon icon="hass:home-map-marker"></ha-icon> </ha-icon-button> @@ -469,13 +469,13 @@ class VacuumCard extends LitElement { return html` <div class="toolbar"> <ha-icon-button - title="${localize('common.start')}" + label="${localize('common.start')}" @click="${this.handleAction('start')}" ><ha-icon icon="hass:play"></ha-icon> </ha-icon-button> <ha-icon-button - title="${localize('common.locate')}" + label="${localize('common.locate')}" @click="${this.handleAction('locate', { isRequest: false })}" ><ha-icon icon="mdi:map-marker"></ha-icon> </ha-icon-button>