fix: Add missing editor support for always_error_if_entity_unavailable (#1837)

- Closes #1775
This commit is contained in:
Dermot Duffy
2025-01-18 15:17:55 -08:00
committed by GitHub
parent 3003f82170
commit 4f76e6a18a
8 changed files with 17 additions and 0 deletions
+8
View File
@@ -36,6 +36,7 @@ import {
} from './config/types.js';
import {
CONF_CAMERAS,
CONF_CAMERAS_ARRAY_ALWAYS_ERROR_IF_ENTITY_UNAVAILABLE,
CONF_CAMERAS_ARRAY_CAMERA_ENTITY,
CONF_CAMERAS_ARRAY_CAPABILITIES_DISABLE,
CONF_CAMERAS_ARRAY_CAPABILITIES_DISABLE_EXCEPT,
@@ -2014,6 +2015,13 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
${this._renderStringInput(
getArrayConfigPath(CONF_CAMERAS_ARRAY_ID, cameraIndex),
)}
${this._renderSwitch(
getArrayConfigPath(
CONF_CAMERAS_ARRAY_ALWAYS_ERROR_IF_ENTITY_UNAVAILABLE,
cameraIndex,
),
this._defaults.cameras.always_error_if_entity_unavailable,
)}
${this._putInSubmenu(
MENU_CAMERAS_ENGINE,
true,