feat: Add UI support for PTZ presets (#1920)
- Closes #1889 Whilst a simple change theoretically, the card has such a collection of surfaces that can overlap other surfaces, it's challenging to get this to work right! There's a real chance this will have broken something z-index related (e.g. X overlaps Y when it should not), or (for related reasons) broken curver corners on the card.
This commit is contained in:
@@ -396,6 +396,7 @@ export class AdvancedCameraCardViewerCarousel extends LitElement {
|
||||
</advanced-camera-card-carousel>
|
||||
${view
|
||||
? html` <advanced-camera-card-ptz
|
||||
.hass=${this.hass}
|
||||
.config=${this.viewerConfig?.controls.ptz}
|
||||
.forceVisibility=${view?.context?.ptzControls?.enabled}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user