From eba7cedaa6294d8380508433cecdce0ad291e510 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 7 May 2020 03:37:14 -0700 Subject: [PATCH] Reset path on icon change (#5790) --- src/components/ha-icon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ha-icon.ts b/src/components/ha-icon.ts index eb6dc12d0c..80a2e9e782 100644 --- a/src/components/ha-icon.ts +++ b/src/components/ha-icon.ts @@ -73,6 +73,7 @@ export class HaIcon extends LitElement { protected updated(changedProps: PropertyValues) { if (changedProps.has("icon")) { + this._path = undefined; this._loadIcon(); } }