Skip to content

Instantly share code, notes, and snippets.

@spiffyvmlab
Created July 12, 2024 07:23
Show Gist options
  • Save spiffyvmlab/ee80cd2f30a0b866501673c84c5bb544 to your computer and use it in GitHub Desktop.
Save spiffyvmlab/ee80cd2f30a0b866501673c84c5bb544 to your computer and use it in GitHub Desktop.
Rivian R1T Dashboard for Home Assistant
views:
- title: R1T
cards: []
type: sections
max_columns: 3
sections:
- type: grid
cards:
- type: gauge
entity: sensor.r1t_odometer
max: 30100
layout_options:
grid_columns: 2
grid_rows: 2
name: Odometer
- type: tile
entity: update.r1t_software
name: Software
vertical: true
show_entity_picture: true
state_content:
- state
- installed_version
layout_options:
grid_columns: 2
grid_rows: 2
- type: custom:gap-card
- type: picture-elements
elements:
- type: state-label
prefix: 'Cabin Temp: '
entity: sensor.r1t_cabin_temperature
style:
top: 35%
left: 50%
image_entity: image.r1t_front_dark
- graph: line
type: sensor
entity: sensor.r1t_cabin_temperature
detail: 2
name: Cabin Temp
- graph: line
type: sensor
entity: sensor.r1t_altitude
detail: 2
name: Altitude
hours_to_show: 24
- type: tile
entity: binary_sensor.r1t_wiper_fluid_level
name: Wiper Fluid
show_entity_picture: false
- type: tile
entity: sensor.r1t_12v_battery_health
name: 12v Battery
hide_state: false
show_entity_picture: false
title: General
- type: grid
cards:
- type: picture-elements
elements:
- type: state-badge
entity: sensor.r1t_power_state
title: Power State
style:
top: 50%
left: 51%
- type: state-icon
entity: binary_sensor.r1t_front_trunk_lock
style:
top: 9%
left: 50.8%
- type: state-icon
entity: binary_sensor.r1t_charge_port
style:
top: 9%
left: 12%
- type: state-icon
entity: binary_sensor.r1t_door_front_left_lock
style:
top: 41%
left: 12%
- type: state-icon
entity: binary_sensor.r1t_door_front_right_lock
style:
top: 41%
left: 89.5%
- type: state-icon
entity: binary_sensor.r1t_door_rear_left_lock
style:
top: 57%
left: 12%
- type: state-icon
entity: binary_sensor.r1t_door_rear_right_lock
style:
top: 57%
left: 89.5%
- type: state-icon
entity: binary_sensor.r1t_gear_tunnel_left_lock
style:
top: 65%
left: 12%
- type: state-icon
entity: binary_sensor.r1t_gear_tunnel_right_lock
style:
top: 65%
left: 89.5%
- type: state-icon
entity: binary_sensor.r1t_tonneau_lock
style:
top: 68%
left: 51%
- type: state-icon
entity: binary_sensor.r1t_tailgate_lock
style:
top: 91%
left: 51%
- type: state-icon
entity: binary_sensor.r1t_gear_guard
style:
top: 86%
left: 28%
- type: state-icon
entity: sensor.r1t_tire_pressure_front_left
style:
top: 13%
left: 9%
- type: state-label
entity: sensor.r1t_tire_pressure_front_left_rounded
style:
top: 15%
left: 9%
- type: state-label
entity: sensor.r1t_tire_pressure_front_left_status
style:
top: 17%
left: 9%
- type: state-icon
entity: sensor.r1t_tire_pressure_front_right
style:
top: 13%
left: 93%
- type: state-label
entity: sensor.r1t_tire_pressure_front_right_rounded
style:
top: 15%
left: 93%
- type: state-label
entity: sensor.r1t_tire_pressure_front_right_status
style:
top: 17%
left: 93%
- type: state-icon
entity: sensor.r1t_tire_pressure_rear_left
style:
top: 73%
left: 9%
- type: state-label
entity: sensor.r1t_tire_pressure_rear_left_rounded
style:
top: 75%
left: 9%
- type: state-label
entity: sensor.r1t_tire_pressure_rear_left_status
style:
top: 77%
left: 9%
- type: state-icon
entity: sensor.r1t_tire_pressure_rear_right
style:
top: 73%
left: 92%
- type: state-label
entity: sensor.r1t_tire_pressure_rear_right_rounded
style:
top: 75%
left: 92%
- type: state-label
entity: sensor.r1t_tire_pressure_rear_right_status
style:
top: 77%
left: 92%
image_entity: image.r1t_overhead_dark
title: Status
- type: grid
cards:
- type: gauge
entity: sensor.r1t_battery_state_of_charge
layout_options:
grid_columns: 2
grid_rows: 2
name: State of Charge
- graph: line
type: sensor
entity: sensor.r1t_estimated_vehicle_range
detail: 2
hours_to_show: 12
name: Estimated Range
- type: custom:gap-card
- type: picture-elements
elements:
- type: state-label
prefix: 'Status: '
entity: binary_sensor.r1t_charging_status
style:
top: 5%
left: 75px
- type: state-icon
entity: binary_sensor.r1t_charge_port
style:
top: 39.6%
left: 35.4%
- type: conditional
conditions:
- entity: binary_sensor.r1t_charging_status
state: Charging
elements:
- type: state-label
prefix: 'Charging Rate: '
entity: sensor.r1t_charging_rate
style:
top: 10%
left: 90px
- type': state-label
prefix: 'Charging Port: '
entity: binary_sensor.r1t_charge_port
style:
top: 10%
left: 90px
- type: state-label
prefix: 'Charging Speed: '
entity: sensor.r1t_charging_speed
style:
top: 15%
left: 96px
- type: state-label
prefix: 'Energy Delivered: '
entity: sensor.r1t_charging_energy_delivered
style:
top: 20%
left: 108px
- type: state-label
prefix: 'Time Remaining: '
entity: sensor.r1t_charging_time_remaining
style:
top: 25%
left: 100px
image_entity: image.r1t_side_charging_dark
- type: tile
entity: sensor.r1t_battery_state_of_charge_limit
name: Charge Limit
- type: tile
entity: sensor.r1t_charging_range_added
name: Range Added
visibility:
- condition: state
entity: binary_sensor.r1t_charging_status
state: 'on'
- graph: line
type: sensor
detail: 2
entity: sensor.r1t_charging_rate
name: Charge Rate
visibility:
- condition: state
entity: binary_sensor.r1t_charging_status
state: 'on'
- graph: line
type: sensor
entity: sensor.r1t_charging_speed
detail: 2
name: Charge Speed
visibility:
- condition: state
entity: binary_sensor.r1t_charging_status
state: 'on'
- type: tile
entity: sensor.r1t_charging_start_time
visibility:
- condition: state
entity: binary_sensor.r1t_charging_status
state: 'on'
name: Charge Start Time
- type: tile
entity: sensor.r1t_charging_cost
name: Charging Cost
visibility:
- condition: state
entity: binary_sensor.r1t_charging_status
state: 'on'
title: Charging
icon: mdi:truck-off-road
background:
image: /api/image/serve/01b190d0f332eec77c41dae5109f5b45/original
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment