Set alt attribute to Assistant name in the exposed entities settings (#16698)

This commit is contained in:
Patrick ZAJDA 2023-05-31 15:36:16 +02:00 committed by GitHub
parent c1fa6d6f8c
commit a4c57f09ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ export class VoiceAssistantExposeAssistantIcon extends LitElement {
style=${styleMap({ style=${styleMap({
filter: this.manual ? "grayscale(100%)" : undefined, filter: this.manual ? "grayscale(100%)" : undefined,
})} })}
alt="" alt=${voiceAssistants[this.assistant].name}
src=${brandsUrl({ src=${brandsUrl({
domain: voiceAssistants[this.assistant].domain, domain: voiceAssistants[this.assistant].domain,
type: "icon", type: "icon",