Skip to content

Instantly share code, notes, and snippets.

View pieterjanbuntinx's full-sized avatar

Pieter-Jan Buntinx pieterjanbuntinx

View GitHub Profile
@jseidl
jseidl / lovelace_views_tesla.yaml
Created June 30, 2020 18:18
Home Assistant - Tesla Lovelace View
title: Car
icon: 'mdi:car'
path: car
cards:
- !include 'cards/tesla.yaml'
- type: map
aspect_ratio: 16:9
default_zoom: 13
entities:
- device_tracker.tesla_model_3_location_tracker
@jseidl
jseidl / tesla.yaml
Last active January 6, 2023 03:58
Home Assistant - Lovelace Tesla Card
type: picture-elements
image: !file /local/images/other/tesla.png
elements:
{% set sensors = [
('binary_sensor.tesla_model_3_online_sensor', False),
('binary_sensor.tesla_model_3_parking_brake_sensor', True),
('climate.tesla_model_3_hvac_climate_system', False),
('device_tracker.tesla_model_3_location_tracker', False),
('sensor.tesla_model_3_mileage_sensor', False)
]