Don't autoplay clips by default.
This commit is contained in:
1 parent
083d91c7bd
commit
5f7a442cc3
3 files changed
+47
-37
No files matched your search
+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