Add support for cycling through cameras.

This commit is contained in:
Dermot Duffy
2022-01-23 12:37:13 -08:00
parent 511bb5382f
commit 5d3ca99cff
6 changed files with 16 additions and 2 deletions
+2
View File
@@ -57,6 +57,7 @@ import {
CONF_MENU_MODE,
CONF_VIEW_DEFAULT,
CONF_VIEW_TIMEOUT_SECONDS,
CONF_VIEW_UPDATE_CYCLE_CAMERA,
CONF_VIEW_UPDATE_FORCE,
} from './const.js';
import { arrayMove, getEntityTitle, prettifyFrigateName } from './common.js';
@@ -659,6 +660,7 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
${this._renderDropdown(CONF_VIEW_DEFAULT, viewModes)}
${this._renderStringInput(CONF_VIEW_TIMEOUT_SECONDS, 'number')}
${this._renderSwitch(CONF_VIEW_UPDATE_FORCE, defaults.view.update_force)}
${this._renderSwitch(CONF_VIEW_UPDATE_CYCLE_CAMERA, defaults.view.update_cycle_camera)}
</div>
`
: ''}