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}" >