This is an alpha / preview release.
This Home Assistant configuration allows you to control the functionality of your Telsa with a GUI that is similar to the mobile phone application. It is a front end / tile for the brilliant intereface from https://github.com/alandtse/tesla
This is an early release, time is short so I will work on adding features and funtions when and as I can. People are welcome to fork the code and tweak it too.
If you use this and like it then please:
At present I only have the screen shots for a Red Model 3 (Left-hand drive). I don't have any access to other Teslas so the user will need to screenshot and format the images as needed. The images are stored under models/{3/y/x/s}/{colour} - feel free to copy the red model 3 folder and add new images in the appropriate place.
To install you'll need a few pre-requistites. These are:
Stack In Card
slider-entity-row
Tesla
folder inside /config/www/
(keep in mind that yaml configuration is case sensitive). I just use the https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863sensor:
- platform: template
sensors:
terrance_status:
friendly_name: "Terrance Status"
value_template: >
{% if is_state('binary_sensor.terrance_parking_brake', 'on') %}
Parked
{% else %}
{% if state_attr('device_tracker.terrance_location_tracker', 'speed') is not none %}
{{ state_attr('device_tracker.terrance_location_tracker', 'speed') }} km/h
{% else %}
Unknown
{% endif %}
{% endif %}
Once you have the above all configured, fine-tune the yaml:
/config/www/Tesla
which is at /local/Tesla
for Home Assistant. If you put them somewhere else then you'll need to change these values.Now, you can add the yaml file to your dashboard. I found it best to create a hidden dashboard and add any card to it. From there you can edit the card, click the show code editor button in the bottom corner and paste it all in.
I'll try and make an installer for this at somepoint once enough images are collected, then the user can choose the car model and colour but I have a home renovation, 2 small children and a business to run, time is short.
I'll try and answer any questions too.