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
+12
View File
@@ -300,6 +300,18 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<br />
<ha-formfield
.label=${localize('editor.show_control') +
': ' +
localize('control.nextprev')}
>
<ha-switch
.checked=${this._config?.controls?.nextprev ?? true}
.configValue=${'controls.nextprev'}
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<br />`
: ''}
<div class="option" @click=${this._toggleOption} .option=${'advanced'}>