From ba0be927ed4d0e19dd40f58d3a27ca970b00aafe Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Tue, 29 Jun 2021 15:01:42 +0200 Subject: [PATCH] Set min value for history graph card rendered hours (#9464) --- .../editor/config-elements/hui-history-graph-card-editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/lovelace/editor/config-elements/hui-history-graph-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-history-graph-card-editor.ts index 6f07551a19..766fda9dd5 100644 --- a/src/panels/lovelace/editor/config-elements/hui-history-graph-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-history-graph-card-editor.ts @@ -79,6 +79,7 @@ export class HuiHistoryGraphCardEditor "ui.panel.lovelace.editor.card.config.optional" )})" .value="${this._hours_to_show}" + min="1" .configValue=${"hours_to_show"} @value-changed="${this._valueChanged}" >