Add live preload option.

This commit is contained in:
Dermot Duffy
2021-10-16 15:39:32 -07:00
parent 83641ca6a7
commit 8f86e7fcd7
8 changed files with 140 additions and 92 deletions
+7
View File
@@ -255,6 +255,13 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<ha-formfield .label=${localize('editor.live_preload')}>
<ha-switch
.checked=${this._config?.live_preload === true}
.configValue=${'live_preload'}
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
</div>`
: ''}
<div class="option" @click=${this._toggleOption} .option=${'appearance'}>