feat: Add UI optional UI locking when microphone is hot (#2484)
This commit is contained in:
committed by
dermotduffy
parent
9a763db1f3
commit
be7e7d79dc
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user