mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Changing camera names to ensure frigate, go2rtc, and home assistant all match
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam01_camera_fps
|
||||
entity: sensor.boys_room_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam01
|
||||
- camera_entity: camera.boys_room_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam01_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam01
|
||||
entity: camera.boys_room_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam03_camera_fps
|
||||
entity: sensor.computer_area_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam03
|
||||
- camera_entity: camera.computer_area_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam03_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam03
|
||||
entity: camera.computer_area_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam04_camera_fps
|
||||
entity: sensor.garage_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam04
|
||||
- camera_entity: camera.garage_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam04_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam04
|
||||
entity: camera.garage_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
@@ -120,18 +118,18 @@ card:
|
||||
top: 40%
|
||||
left: 83%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
state: "on"
|
||||
- entity: binary_sensor.garage_door
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
style:
|
||||
top: 43%
|
||||
left: 40%
|
||||
# - type: conditional
|
||||
# conditions:
|
||||
# - entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
# state: "on"
|
||||
# - entity: binary_sensor.garage_door
|
||||
# state: "on"
|
||||
# elements:
|
||||
# - type: state-icon
|
||||
# entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
# style:
|
||||
# top: 43%
|
||||
# left: 40%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam06_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:advanced-camera-card
|
||||
cameras_global:
|
||||
dimensions:
|
||||
layout:
|
||||
fit: fill
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam06
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam06_sub
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
mode: none
|
||||
timeline:
|
||||
mode: none
|
||||
thumbnails:
|
||||
mode: none
|
||||
menu:
|
||||
buttons:
|
||||
frigate:
|
||||
enabled: false
|
||||
style: none
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
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_cam06
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /ai-yml/ai-cam06
|
||||
style:
|
||||
transform: initial
|
||||
top: 0px
|
||||
left: 0px
|
||||
width: 100%
|
||||
height: 100%
|
||||
opacity: 0%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.bedroom_motion
|
||||
style:
|
||||
left: 8%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: sensor.master_bed_person_count
|
||||
style:
|
||||
left: 50%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.bedroom_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 70%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.bedroom_occupied
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.master_bedroom_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.master_bedroom_person_occupancy
|
||||
style:
|
||||
top: 50%
|
||||
left: 10%
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.master_bed_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.master_bed_person_occupancy
|
||||
style:
|
||||
top: 50%
|
||||
left: 70%
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam07_camera_fps
|
||||
entity: sensor.bedroom_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam07
|
||||
- camera_entity: camera.bedroom_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam07_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam07
|
||||
entity: camera.bedroom_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam08_camera_fps
|
||||
entity: sensor.girls_room_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam08
|
||||
- camera_entity: camera.girls_room_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam08_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam08
|
||||
entity: camera.girls_room_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
# tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam12_camera_fps
|
||||
entity: sensor.kitchen_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam12
|
||||
- camera_entity: camera.kitchen_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam12_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam12
|
||||
entity: camera.kitchen_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam14_camera_fps
|
||||
entity: sensor.upstairs_cam_camera_fps
|
||||
state_not: "500"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam14
|
||||
- camera_entity: camera.upstairs_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam14_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam14
|
||||
entity: camera.upstairs_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam15_camera_fps
|
||||
entity: sensor.downstairs_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -11,15 +11,18 @@ card:
|
||||
dimensions:
|
||||
layout:
|
||||
fit: fill
|
||||
performance:
|
||||
profile: low
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam15
|
||||
- camera_entity: camera.downstairs_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam15_sub
|
||||
cast:
|
||||
method: dashboard
|
||||
dashboard:
|
||||
dashboard_path: casting-yaml
|
||||
view_path: downstairs-camera
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +60,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam15
|
||||
entity: camera.downstairs_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -1,189 +0,0 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam18_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:advanced-camera-card
|
||||
cameras_global:
|
||||
dimensions:
|
||||
layout:
|
||||
fit: fill
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam18
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam18_sub
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
mode: none
|
||||
timeline:
|
||||
mode: none
|
||||
thumbnails:
|
||||
mode: none
|
||||
menu:
|
||||
buttons:
|
||||
frigate:
|
||||
enabled: false
|
||||
style: none
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
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_cam18
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /ai-yml/ai-cam18
|
||||
style:
|
||||
transform: initial
|
||||
top: 0px
|
||||
left: 0px
|
||||
width: 100%
|
||||
height: 100%
|
||||
opacity: 0%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_yard_person_occupancy
|
||||
style:
|
||||
left: 8%
|
||||
top: 95%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.frigate_cam18_vehicle_occupancy
|
||||
style:
|
||||
left: 50%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.front_yard_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 70%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: cover.garage_door
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.driveway_vehicle_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.driveway_vehicle_occupancy
|
||||
style:
|
||||
top: 45%
|
||||
left: 55%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
style:
|
||||
top: 35%
|
||||
left: 2%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.from_street_vehicle_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.from_street_vehicle_occupancy
|
||||
style:
|
||||
top: 17%
|
||||
left: 12%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.from_street_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.from_street_person_occupancy
|
||||
style:
|
||||
top: 17%
|
||||
left: 17%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.front_porch_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_porch_person_occupancy
|
||||
style:
|
||||
top: 32%
|
||||
left: 97%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.front_yard_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_yard_person_occupancy
|
||||
style:
|
||||
top: 12%
|
||||
left: 76%
|
||||
|
||||
# - type: conditional
|
||||
# conditions:
|
||||
# - entity: binary_sensor.front_yard_animal_occupancy
|
||||
# state: "on"
|
||||
# elements:
|
||||
# - type: state-icon
|
||||
# entity: binary_sensor.front_yard_animal_occupancy
|
||||
# style:
|
||||
# top: 12%
|
||||
# left: 71%
|
||||
|
||||
- type: state-icon
|
||||
entity: light.front_porch_overhead
|
||||
style:
|
||||
top: 12%
|
||||
left: 98%
|
||||
tap_action:
|
||||
action: toggle
|
||||
|
||||
- type: state-icon
|
||||
entity: light.driveway
|
||||
style:
|
||||
top: 80%
|
||||
left: 98%
|
||||
tap_action:
|
||||
action: toggle
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam19_camera_fps
|
||||
entity: sensor.doorbell_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,12 +14,10 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam19
|
||||
- camera_entity: camera.doorbell_cam
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam19_sub
|
||||
performance:
|
||||
profile: low
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
@@ -57,7 +55,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam19
|
||||
entity: camera.doorbell_cam
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
@@ -77,7 +75,7 @@ card:
|
||||
left: 8%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.frigate_cam19_vehicle_occupancy
|
||||
entity: binary_sensor.doorbell_cam_vehicle_occupancy
|
||||
style:
|
||||
left: 50%
|
||||
top: 95%
|
||||
@@ -105,16 +103,16 @@ card:
|
||||
top: 60%
|
||||
left: 14%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
style:
|
||||
top: 52%
|
||||
left: 15%
|
||||
# - type: conditional
|
||||
# conditions:
|
||||
# - entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
# state: "on"
|
||||
# elements:
|
||||
# - type: state-icon
|
||||
# entity: binary_sensor.parking_spot_vehicle_occupancy
|
||||
# style:
|
||||
# top: 52%
|
||||
# left: 15%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam06_camera_fps
|
||||
entity: sensor.bedroom_cam_camera_fps
|
||||
state_not: "0"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -20,35 +20,13 @@ card:
|
||||
enabled: false
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam06
|
||||
- camera_entity: camera.bedroom_cam
|
||||
live_provider: go2rtc
|
||||
id: frigate-cam06
|
||||
id: bedroom_cam
|
||||
capabilities:
|
||||
disable: []
|
||||
disable_except:
|
||||
- live
|
||||
go2rtc:
|
||||
stream: cam06_sub
|
||||
modes:
|
||||
- webrtc
|
||||
title: MBR Left
|
||||
icon: mdi:bed-king
|
||||
always_error_if_entity_unavailable: false
|
||||
triggers:
|
||||
motion: false
|
||||
events: []
|
||||
occupancy: false
|
||||
- camera_entity: camera.frigate_cam07
|
||||
live_provider: go2rtc
|
||||
id: frigate-cam07
|
||||
capabilities:
|
||||
disable: []
|
||||
disable_except:
|
||||
- live
|
||||
go2rtc:
|
||||
stream: cam07_sub
|
||||
modes:
|
||||
- webrtc
|
||||
title: MBR Right
|
||||
icon: mdi:bed-king
|
||||
always_error_if_entity_unavailable: false
|
||||
|
||||
Reference in New Issue
Block a user