Fix gauge-editor loading of severity values. (#14700)

fixes undefined
This commit is contained in:
karwosts 2022-12-12 06:20:29 -08:00 committed by GitHub
parent 03d33759b8
commit 1e654d9661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export interface HaFormBaseSchema {
export interface HaFormGridSchema extends HaFormBaseSchema {
type: "grid";
name: "";
name: string;
column_min_width?: string;
schema: readonly HaFormSchema[];
}

View File

@ -93,7 +93,7 @@ export class HuiGaugeCardEditor
...(showSeverity
? ([
{
name: "",
name: "severity",
type: "grid",
schema: [
{