Skip to content

Instantly share code, notes, and snippets.

@jasontucker
Created April 23, 2025 22:37
Show Gist options
  • Save jasontucker/9bc18abcdde37544998c1112caa72a4d to your computer and use it in GitHub Desktop.
Save jasontucker/9bc18abcdde37544998c1112caa72a4d to your computer and use it in GitHub Desktop.
views:
- title: Home
sections:
- type: grid
cards:
- type: heading
heading_style: title
heading: Driveway
- type: custom:advanced-camera-card
cameras:
- camera_entity: camera.g5_ptz_high_resolution_channel
grid_options:
columns: 33
rows: 6
live:
preload: true
controls:
ptz:
mode: 'on'
position: bottom-right
orientation: horizontal
builtin: false
zoomable: false
dimensions:
aspect_ratio_mode: dynamic
aspect_ratio: '16:9'
media_viewer:
zoomable: false
lazy_load: false
snapshot_click_plays_clip: false
controls:
builtin: false
- square: false
type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_home_view
name: Home
icon: mdi:home
show_state: false
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_1_view
name: Gate
icon: mdi:gate
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_2_view
name: Trash
icon: mdi:trash-can
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_3_view
icon: mdi:car-2-plus
name: Cars
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_4_view
icon: mdi:star-three-points
name: Driveway
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_5_view
icon: mdi:tree
name: Orange Tree
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_6_view
icon: mdi:light-flood-down
name: Corner
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_7_view
icon: mdi:car
name: More Cars
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_8_view
icon: mdi:stairs-box
name: Steps
icon_height: 40px
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.driveway_9_view
icon: mdi:home-plus-outline
name: Front Yard
icon_height: 40px
grid_options:
columns: 12
rows: 6
column_span: 4
- type: grid
cards:
- type: heading
heading: New section
badges:
- type: entity
show_name: true
show_state: true
show_icon: true
entity: switch.g5_ptz_detections_motion
- type: entity
show_name: true
show_state: true
show_icon: true
entity: binary_sensor.driveway_ptz_person_detected
- type: entity
show_name: true
show_state: true
show_icon: true
entity: sensor.g5_ptz_last_motion_detected
show_entity_picture: false
- type: entity
show_name: true
show_state: true
show_icon: true
entity: binary_sensor.driveway_ptz_speaking_detected
- type: entity
show_name: true
show_state: true
show_icon: true
entity: binary_sensor.driveway_ptz_vehicle_detected
- type: entity
show_name: false
show_state: true
show_icon: true
entity: binary_sensor.driveway_ptz_person_detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment