Rename option to always_connected.

This commit is contained in:
Dermot Duffy
2023-05-07 15:32:44 -07:00
parent ee7d02fc58
commit 109e10ea68
9 changed files with 21 additions and 16 deletions
+3 -3
View File
@@ -156,7 +156,7 @@ import {
CONF_VIEW_UPDATE_FORCE,
CONF_VIEW_UPDATE_SECONDS,
MEDIA_CHUNK_SIZE_MAX,
CONF_LIVE_MICROPHONE_CONNECT_ON_LOAD,
CONF_LIVE_MICROPHONE_ALWAYS_CONNECTED,
} from './const.js';
import { localize } from './localize/localize.js';
import { setLowPerformanceProfile } from './performance.js';
@@ -1880,8 +1880,8 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
html`
${this._renderNumberInput(CONF_LIVE_MICROPHONE_DISCONNECT_SECONDS)}
${this._renderSwitch(
CONF_LIVE_MICROPHONE_CONNECT_ON_LOAD,
this._defaults.live.microphone.connect_on_load,
CONF_LIVE_MICROPHONE_ALWAYS_CONNECTED,
this._defaults.live.microphone.always_connected,
)}
`,
)}