fix(layout): aspect-ratio on wrapper + sync via polling; add top_max_height_vh (v0.7.1)

This commit is contained in:
2026-05-05 18:30:24 +00:00
parent a2cf430cd8
commit 2627501b44
2 changed files with 48 additions and 19 deletions
+4
View File
@@ -38,6 +38,10 @@ unlock_action: # optional — omit to hide the unlock button
entity_id: camera.doorbell_main
unlock_icon: mdi:key # optional, defaults to mdi:key
mode: webrtc # optional, passed through to webrtc-camera
top_max_height_vh: 35 # optional, only for layout: split — caps the
# full-frame top section at this many vh units
# (default 35). Lower this if the top half feels
# too dominant on tall portrait screens.
layout: split # optional — 'split' (default), 'cover', or 'contain'
# split: top half shows the full uncropped frame,
# bottom half is a center-cropped 'cover' view.