mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Remove fire-dom-event from action struct (#19390)
This commit is contained in:
parent
61eaa07b25
commit
5a91f613ca
@ -58,10 +58,6 @@ const actionConfigStructAssist = type({
|
|||||||
start_listening: optional(boolean()),
|
start_listening: optional(boolean()),
|
||||||
});
|
});
|
||||||
|
|
||||||
const actionConfigStructCustom = type({
|
|
||||||
action: literal("fire-dom-event"),
|
|
||||||
});
|
|
||||||
|
|
||||||
export const actionConfigStructType = object({
|
export const actionConfigStructType = object({
|
||||||
action: enums([
|
action: enums([
|
||||||
"none",
|
"none",
|
||||||
@ -81,9 +77,6 @@ export const actionConfigStruct = dynamic<any>((value) => {
|
|||||||
case "call-service": {
|
case "call-service": {
|
||||||
return actionConfigStructService;
|
return actionConfigStructService;
|
||||||
}
|
}
|
||||||
case "fire-dom-event": {
|
|
||||||
return actionConfigStructCustom;
|
|
||||||
}
|
|
||||||
case "navigate": {
|
case "navigate": {
|
||||||
return actionConfigStructNavigate;
|
return actionConfigStructNavigate;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user