mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
everything's gotta change
This commit is contained in:
@@ -20,13 +20,10 @@ card:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam01_sub
|
||||
icon: mdi:earth
|
||||
title: Boys Room
|
||||
id: boys_room
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -43,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -20,13 +20,10 @@ card:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam03_sub
|
||||
icon: mdi:desktop-classic
|
||||
title: Computer Area
|
||||
id: computer_area
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -43,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam12_camera_fps
|
||||
state_not: "500"
|
||||
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_cam12
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam13_sub
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
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
|
||||
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_cam13
|
||||
# image: /local/title-dark-double.png
|
||||
# aspect_ratio: 100%
|
||||
# tap_action:
|
||||
# action: navigate
|
||||
# navigation_path: /ai-yml/ai-cam13
|
||||
# style:
|
||||
# transform: initial
|
||||
# top: 0px
|
||||
# left: 0px
|
||||
# width: 100%
|
||||
# height: 100%
|
||||
# opacity: 0%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_room_motion
|
||||
style:
|
||||
left: 8%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: sensor.dining_room_person_count
|
||||
style:
|
||||
left: 50%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.front_room_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 70%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_room_occupied
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.patio_door_contact
|
||||
style:
|
||||
top: 29%
|
||||
left: 4%
|
||||
|
||||
# - type: state-icon
|
||||
# entity: switch.shelly_sliding_glass_door
|
||||
# style:
|
||||
# top: 34%
|
||||
# left: 4%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.front_room_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.front_room_person_occupancy
|
||||
style:
|
||||
top: 55%
|
||||
left: 55%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.dining_room_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.dining_room_person_occupancy
|
||||
style:
|
||||
top: 33%
|
||||
left: 20%
|
||||
@@ -1,7 +1,7 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam12_camera_fps
|
||||
entity: sensor.frigate_cam14_camera_fps
|
||||
state_not: "500"
|
||||
card:
|
||||
type: vertical-stack
|
||||
@@ -14,7 +14,7 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam12
|
||||
- camera_entity: camera.frigate_cam14
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
@@ -23,7 +23,7 @@ card:
|
||||
live:
|
||||
preload: true
|
||||
draggable: true
|
||||
show_image_during_load: false
|
||||
show_image_during_load: true
|
||||
lazy_load: false
|
||||
controls:
|
||||
title:
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
@@ -54,7 +57,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam12
|
||||
entity: camera.frigate_cam14
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
@@ -69,19 +72,19 @@ card:
|
||||
opacity: 0%
|
||||
|
||||
- type: state-icon
|
||||
entity: binary_sensor.back_yard_motion
|
||||
entity: binary_sensor.front_room_motion
|
||||
style:
|
||||
left: 8%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.back_yard_occupied
|
||||
entity: input_boolean.front_room_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 70%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.back_yard_occupied
|
||||
entity: binary_sensor.front_room_occupied
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
|
||||
@@ -0,0 +1,149 @@
|
||||
type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.frigate_cam15_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_cam15
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
- webrtc
|
||||
stream: cam15_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_cam15
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /ai-yml/ai-cam15
|
||||
style:
|
||||
transform: initial
|
||||
top: 0px
|
||||
left: 0px
|
||||
width: 100%
|
||||
height: 100%
|
||||
opacity: 0%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.computer_area_motion
|
||||
style:
|
||||
left: 8%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: sensor.great_room_person_count
|
||||
style:
|
||||
left: 50%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.computer_area_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 70%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.computer_area_occupied
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.great_room_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.great_room_person_occupancy
|
||||
style:
|
||||
top: 20%
|
||||
left: 25%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.utility_room_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.utility_room_person_occupancy
|
||||
style:
|
||||
top: 17%
|
||||
left: 57%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.entryway_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.entryway_person_occupancy
|
||||
style:
|
||||
top: 25%
|
||||
left: 97%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.computer_area_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.computer_area_person_occupancy
|
||||
style:
|
||||
top: 87%
|
||||
left: 80%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.computer_chair_contact_occupied
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.computer_chair_contact_occupied
|
||||
style:
|
||||
top: 35%
|
||||
left: 25%
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
@@ -40,6 +40,9 @@ card:
|
||||
media_viewer:
|
||||
draggable: false
|
||||
lazy_load: false
|
||||
view:
|
||||
update_force: true
|
||||
update_seconds: 0
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: "16:9"
|
||||
|
||||
Reference in New Issue
Block a user