mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
Update Struct for Buttons Footer
This commit is contained in:
parent
d0ead1fdb8
commit
026d027386
@ -1,4 +1,4 @@
|
|||||||
import { union, object, string, optional, boolean, enums } from "superstruct";
|
import { boolean, enums, object, optional, string, union } from "superstruct";
|
||||||
import { TIMESTAMP_RENDERING_FORMATS } from "../../components/types";
|
import { TIMESTAMP_RENDERING_FORMATS } from "../../components/types";
|
||||||
import { actionConfigStruct } from "./action-struct";
|
import { actionConfigStruct } from "./action-struct";
|
||||||
|
|
||||||
@ -14,6 +14,8 @@ export const entitiesConfigStruct = union([
|
|||||||
tap_action: optional(actionConfigStruct),
|
tap_action: optional(actionConfigStruct),
|
||||||
hold_action: optional(actionConfigStruct),
|
hold_action: optional(actionConfigStruct),
|
||||||
double_tap_action: optional(actionConfigStruct),
|
double_tap_action: optional(actionConfigStruct),
|
||||||
|
show_icon: optional(boolean()),
|
||||||
|
show_name: optional(boolean()),
|
||||||
}),
|
}),
|
||||||
string(),
|
string(),
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user