Add option to disable next/prev controls.

This commit is contained in:
Dermot Duffy
2021-09-05 22:41:12 -07:00
parent fb906a6aaf
commit 2fa928467e
5 changed files with 27 additions and 3 deletions
+3
View File
@@ -74,6 +74,9 @@ export const frigateCardConfigSchema = z.object({
show: z.boolean().default(true),
icon: z.string().optional(),
}).array().optional(),
controls: z.object({
nextprev: z.boolean().default(true),
}).optional(),
// Stock lovelace card config.
type: z.string(),