mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
history-graph-card-editor
: Correct hours_to_show
validation (#23090)
history-graph-card-editor: Correct hours_to_show validation Allow all floating point numbers from 0 up. Fixes #15933.
This commit is contained in:
parent
2550bff4e9
commit
6d01728d54
@ -68,7 +68,7 @@ export class HuiHistoryGraphCardEditor
|
||||
{
|
||||
name: "hours_to_show",
|
||||
default: DEFAULT_HOURS_TO_SHOW,
|
||||
selector: { number: { min: 1, mode: "box" } },
|
||||
selector: { number: { min: 0, step: "any", mode: "box" } },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user