Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hovering labels for ha-icon-buttons #372

Merged
merged 1 commit into from
Apr 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/vacuum-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
`;
Expand All @@ -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>
Expand All @@ -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>
Expand Down