Add live view lazy unloading support.
This commit is contained in:
@@ -44,6 +44,7 @@ import {
|
||||
CONF_LIVE_CONTROLS_THUMBNAILS_SIZE,
|
||||
CONF_LIVE_DRAGGABLE,
|
||||
CONF_LIVE_LAZY_LOAD,
|
||||
CONF_LIVE_LAZY_UNLOAD,
|
||||
CONF_LIVE_PRELOAD,
|
||||
CONF_MENU_BUTTONS_CLIPS,
|
||||
CONF_MENU_BUTTONS_FRIGATE,
|
||||
@@ -728,6 +729,10 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
|
||||
CONF_LIVE_LAZY_LOAD,
|
||||
defaults.live.lazy_load,
|
||||
)}
|
||||
${this._renderSwitch(
|
||||
CONF_LIVE_LAZY_UNLOAD,
|
||||
defaults.live.lazy_unload,
|
||||
)}
|
||||
${this._renderDropdown(
|
||||
CONF_LIVE_CONTROLS_NEXT_PREVIOUS_STYLE,
|
||||
liveNextPreviousControlStyles,
|
||||
|
||||
Reference in New Issue
Block a user