Don't autoplay clips by default.
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
|
||||
></paper-input>
|
||||
<ha-formfield .label=${`Autoplay clip`}>
|
||||
<ha-switch
|
||||
.checked=${this._config?.autoplay_clip !== false}
|
||||
.checked=${this._config?.autoplay_clip === true}
|
||||
.configValue=${'autoplay_clip'}
|
||||
@change=${this._valueChanged}
|
||||
></ha-switch>
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ export const frigateCardConfigSchema = z.object({
|
||||
webrtc: z.object({}).passthrough().optional(),
|
||||
label: z.string().optional(),
|
||||
zone: z.string().optional(),
|
||||
autoplay_clip: z.boolean().default(true),
|
||||
autoplay_clip: z.boolean().default(false),
|
||||
|
||||
// Stock lovelace card config.
|
||||
type: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user