Set min value for history graph card rendered hours (#9464)

This commit is contained in:
Philip Allgaier
2021-06-29 15:01:42 +02:00
committed by GitHub
parent 4260606267
commit ba0be927ed

View File

@@ -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}"
></paper-input>