Access the most recent clip/snapshot by holding down the menu button.
This commit is contained in:
+7
-1
@@ -358,7 +358,8 @@ const internalMenuIconSchema = z.object({
|
||||
title: z.string(),
|
||||
icon: z.string().optional(),
|
||||
emphasize: z.boolean().default(false).optional(),
|
||||
card_action: z.string(),
|
||||
tap_action: z.string(),
|
||||
hold_action: z.string().optional(),
|
||||
});
|
||||
|
||||
const menuButtonSchema = z.union([
|
||||
@@ -400,6 +401,11 @@ export interface Message {
|
||||
icon?: string;
|
||||
}
|
||||
|
||||
export interface MenuInteraction {
|
||||
interaction: "hold" | "tap" | "double_tap",
|
||||
button: MenuButton,
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Assistant API types.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user