Don't fetch thumbnails on preloaded background cameras.

This commit is contained in:
Dermot Duffy
2022-05-09 09:43:05 -07:00
parent 470f8fa1c1
commit e5a9eb1392
3 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -177,9 +177,9 @@ const noActionSchema = schemaForType<
);
const frigateCardCustomactionsBaseSchema = customActionSchema.extend({
// Syntactic sugar to avoid 'fire-dom-event' as part of an external API.
action: z
.literal('custom:frigate-card-action')
// Syntactic sugar to avoid 'fire-dom-event' as part of an external API.
.transform((): 'fire-dom-event' => 'fire-dom-event')
.or(z.literal('fire-dom-event')),
});