feat: Add UI optional UI locking when microphone is hot (#2484)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:12 -07:00
committed by dermotduffy
parent 9a763db1f3
commit be7e7d79dc
45 changed files with 922 additions and 53 deletions
+2
View File
@@ -253,6 +253,7 @@ class AdvancedCameraCard extends LitElement {
${ref(this._refMenu)}
slot=${ifDefined(slot)}
.hass=${this._hass}
.lockManagerEpoch=${this._controller.getLockManager().getEpoch()}
.menuConfig=${this._config.menu}
.buttons=${this._menuButtonController.calculateButtons(
this._hass,
@@ -426,6 +427,7 @@ class AdvancedCameraCard extends LitElement {
.hide=${!!fullCardIssue}
.microphoneManager=${this._controller.getMicrophoneManager()}
.microphoneState=${this._controller.getMicrophoneManager().getState()}
.locked=${this._controller.getLockManager().isLocked()}
.conditionStateManager=${this._controller.getConditionStateManager()}
.triggeredCameraIDs=${this._config?.view.triggers.show_trigger_status
? this._controller.getTriggersManager().getTriggeredCameraIDs()