From 9d33c0cfaf0b563a6900217ccc4b68a09deb2275 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 28 Apr 2021 18:19:51 +0200 Subject: [PATCH] Fix unit support in gauge editor (#9021) --- .../lovelace/editor/config-elements/hui-gauge-card-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/editor/config-elements/hui-gauge-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-gauge-card-editor.ts index 7c12ea1fce..47ceac2f9d 100644 --- a/src/panels/lovelace/editor/config-elements/hui-gauge-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-gauge-card-editor.ts @@ -112,7 +112,7 @@ export class HuiGaugeCardEditor extends LitElement "ui.panel.lovelace.editor.card.config.optional" )})" .value=${this._unit} - configValue="unit" + .configValue=${"unit"} @value-changed=${this._valueChanged} >