Files
fresh-home/lovelace/cameras/view-camera-12.yaml
T
CeeWeasel d60b56b37a Refactor camera cards to use advanced-camera-card format
- Updated garage-card.yaml to use vertical-stack and advanced-camera-card structure.
- Refactored indoor-camera-cycler.yaml to include multiple cameras in advanced-camera-card format.
- Modified kitchen-card.yaml to align with new advanced-camera-card structure.
- Consolidated master-bedroom-card.yaml to include both left and right cameras in a single advanced-camera-card.
- Removed deprecated master-bedroom-left-card.yaml and master-bedroom-right-card.yaml files.
- Updated nursery-card.yaml to follow the new advanced-camera-card format.
- Refactored outdoor-camera-cycler.yaml to utilize advanced-camera-card for multiple outdoor cameras.
- Cleaned up view-ha-floorplan.yaml by removing commented-out code.
- Updated view-overview.yaml to remove unused plant entities.
- Corrected media source paths in wake_up_the_master_bedroom.yaml and take_meds.yaml scripts.
- Added new ESPHome configurations for bed presence sensors.
- Updated full-sized floorplan SVG with new IDs for bed presence sensors.
2025-07-28 20:52:16 -04:00

112 lines
2.8 KiB
YAML

type: conditional
conditions:
- condition: state
entity: sensor.frigate_cam12_camera_fps
state_not: "0"
card:
type: vertical-stack
cards:
- type: custom:advanced-camera-card
cameras_global:
dimensions:
layout:
fit: fill
cameras:
- camera_entity: camera.frigate_cam12
live_provider: go2rtc
go2rtc:
modes:
- webrtc
stream: rtsp_cam12_sub
cast:
method: dashboard
dashboard:
dashboard_path: camera-casting-yml
view_path: kitchen-camera
live:
preload: true
draggable: true
show_image_during_load: false
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
elements:
- type: image
image: /local/title-dark-double.png
style:
transform: initial
top: 90%
left: 0px
width: 100%
height: 10%
opacity: 70%
- type: image
entity: camera.frigate_cam12
image: /local/title-dark-double.png
aspect_ratio: 100%
tap_action:
action: navigate
navigation_path: /ai-yml/ai-cam12
style:
transform: initial
top: 0px
left: 0px
width: 100%
height: 100%
opacity: 0%
- type: state-icon
entity: group.kitchen_motion
style:
left: 8%
top: 95%
- type: state-icon
entity: input_boolean.kitchen_occupied
tap_action:
action: toggle
style:
left: 70%
top: 95%
- type: state-icon
entity: binary_sensor.kitchen_occupied
style:
top: 95%
left: 92%
- type: state-icon
entity: binary_sensor.pantry_door_contact
style:
top: 29%
left: 4%
- type: conditional
conditions:
- entity: binary_sensor.dishwasher
state: "on"
elements:
- type: state-icon
entity: binary_sensor.dishwasher
style:
top: 47%
left: 41%
- type: conditional
conditions:
- entity: binary_sensor.kitchen_person_occupancy
state: "on"
elements:
- type: state-icon
entity: binary_sensor.kitchen_person_occupancy
style:
top: 70%
left: 41%
- type: state-icon
entity: switch.shelly_sliding_glass_door
style:
top: 3%
left: 55%
tap_action:
action: toggle