mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Update heading entity schema to allow empty entity id (#22211)
This commit is contained in:
parent
44948a3474
commit
8bc0ea5a0b
@ -36,7 +36,7 @@ export const DEFAULT_CONFIG: Partial<EntityHeadingBadgeConfig> = {
|
|||||||
|
|
||||||
const entityConfigStruct = object({
|
const entityConfigStruct = object({
|
||||||
type: optional(string()),
|
type: optional(string()),
|
||||||
entity: string(),
|
entity: optional(string()),
|
||||||
name: optional(string()),
|
name: optional(string()),
|
||||||
icon: optional(string()),
|
icon: optional(string()),
|
||||||
state_content: optional(union([string(), array(string())])),
|
state_content: optional(union([string(), array(string())])),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user