diff --git a/src/editor.ts b/src/editor.ts index 7f5616e6..2ee97ae3 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -21,6 +21,8 @@ import { CONF_CAMERAS_ARRAY_LABEL, CONF_CAMERAS_ARRAY_TITLE, CONF_CAMERAS_ARRAY_URL, + CONF_CAMERAS_ARRAY_WEBRTC_ENTITY, + CONF_CAMERAS_ARRAY_WEBRTC_URL, CONF_CAMERAS_ARRAY_ZONE, CONF_DIMENSIONS_ASPECT_RATIO, CONF_DIMENSIONS_ASPECT_RATIO_MODE, @@ -37,8 +39,6 @@ import { CONF_LIVE_CONTROLS_THUMBNAILS_SIZE, CONF_LIVE_PRELOAD, CONF_LIVE_PROVIDER, - CONF_LIVE_WEBRTC_ENTITY, - CONF_LIVE_WEBRTC_URL, CONF_MENU_BUTTONS_CLIPS, CONF_MENU_BUTTONS_FRIGATE, CONF_MENU_BUTTONS_FRIGATE_DOWNLOAD, @@ -427,6 +427,12 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor ${this._renderStringInput( getArrayConfigPath(CONF_CAMERAS_ARRAY_ID, cameraIndex), )} + ${this._renderDropdown( + getArrayConfigPath(CONF_CAMERAS_ARRAY_WEBRTC_ENTITY, cameraIndex), + cameraEntities)} + ${this._renderStringInput( + getArrayConfigPath(CONF_CAMERAS_ARRAY_WEBRTC_URL, cameraIndex), + )} ` : ``} `; @@ -664,8 +670,6 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor