Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docu: Home Assistant fixed #1711

Merged
merged 2 commits into from
Jun 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions website/docs/integrations/home_assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ tesla_location:
state_topic: "teslamate/cars/1/shift_state"
icon: mdi:car-shift-pattern

- platform: mqtt
- platform: mqtt
name: tesla_power
state_topic: "teslamate/cars/1/power"
device_class: power
Expand Down Expand Up @@ -455,10 +455,11 @@ tesla_location:
The below is the Lovelace UI configuration used to make the example screenshot above. You will obviously want to configure this to your liking, however the example contains all of the sensors and values presented via MQTT and could be used as the basis of UI configuration.

```yml title="ui-lovelace.yaml"
views:
- path: car
title: Car
badges: []
icon: 'mdi:car-connected'
icon: mdi:car-connected
cards:
- type: vertical-stack
cards:
Expand All @@ -468,39 +469,39 @@ The below is the Lovelace UI configuration used to make the example screenshot a
name: Battery Level
- entity: sensor.tesla_state
name: Car State
- entity: sensor.tesla_plugged_in
- entity: binary_sensor.tesla_plugged_in
name: Plugged In
- type: glance
entities:
- entity: sensor.tesla_park_brake
- entity: binary_sensor.tesla_park_brake
name: Park Brake
- entity: sensor.tesla_sentry_mode
- entity: binary_sensor.tesla_sentry_mode
name: Sentry Mode
- entity: sensor.tesla_speed
name: Speed
- type: glance
entities:
- entity: sensor.tesla_healthy
- entity: binary_sensor.tesla_healthy
name: Car Health
- entity: sensor.tesla_windows_open
- entity: binary_sensor.tesla_windows_open
name: Window Status
- type: horizontal-stack
cards:
- type: button
entity: sensor.tesla_locked
entity: binary_sensor.tesla_locked
name: Charger Door
show_state: true
state:
- value: locked
icon: 'mdi:lock'
icon: mdi:lock
color: green
tap_action:
action: call-service
service: lock.unlock
service_data:
entity_id: lock.tesla_model_3_charger_door_lock
- value: unlocked
icon: 'mdi:lock-open'
icon: mdi:lock-open
color: red
tap_action:
action: call-service
Expand All @@ -513,15 +514,15 @@ The below is the Lovelace UI configuration used to make the example screenshot a
show_state: true
state:
- value: locked
icon: 'mdi:lock'
icon: mdi:lock
color: green
tap_action:
action: call-service
service: lock.unlock
service_data:
entity_id: lock.tesla_model_3_door_lock
- value: unlocked
icon: 'mdi:lock-open'
icon: mdi:lock-open
color: red
tap_action:
action: call-service
Expand All @@ -545,11 +546,11 @@ The below is the Lovelace UI configuration used to make the example screenshot a
name: Status
- entity: sensor.tesla_since
name: Last Status Change
- entity: sensor.tesla_healthy
- entity: binary_sensor.tesla_healthy
name: Logger Healthy
- entity: sensor.tesla_version
name: Software Version
- entity: sensor.tesla_update_available
- entity: binary_sensor.tesla_update_available
name: Available Update Status
- entity: sensor.tesla_update_version
name: Available Update Version
Expand Down Expand Up @@ -583,27 +584,27 @@ The below is the Lovelace UI configuration used to make the example screenshot a
name: Elevation (m)
- entity: sensor.tesla_elevation_ft
name: Elevation (ft)
- entity: sensor.tesla_locked
- entity: binary_sensor.tesla_locked
name: Locked
- entity: sensor.tesla_sentry_mode
- entity: binary_sensor.tesla_sentry_mode
name: Sentry Mode Enabled
- entity: sensor.tesla_windows_open
- entity: binary_sensor.tesla_windows_open
name: Windows Open
- entity: sensor.tesla_doors_open
- entity: binary_sensor.tesla_doors_open
name: Doors Open
- entity: sensor.tesla_trunk_open
- entity: binary_sensor.tesla_trunk_open
name: Trunk Open
- entity: sensor.tesla_frunk_open
- entity: binary_sensor.tesla_frunk_open
name: Frunk Open
- entity: sensor.tesla_is_user_present
- entity: binary_sensor.tesla_is_user_present
name: User Present
- entity: sensor.tesla_is_climate_on
- entity: binary_sensor.tesla_is_climate_on
name: Climate On
- entity: sensor.tesla_inside_temp
name: Inside Temperature
- entity: sensor.tesla_outside_temp
name: Outside Temperature
- entity: sensor.tesla_is_preconditioning
- entity: binary_sensor.tesla_is_preconditioning
name: Preconditioning
- entity: sensor.tesla_odometer
name: Odometer
Expand All @@ -625,13 +626,13 @@ The below is the Lovelace UI configuration used to make the example screenshot a
name: Battery Level
- entity: sensor.tesla_usable_battery_level
name: Usable Battery Level
- entity: sensor.tesla_plugged_in
- entity: binary_sensor.tesla_plugged_in
name: Plugged In
- entity: sensor.tesla_charge_energy_added
name: Charge Energy Added
- entity: sensor.tesla_charge_limit_soc
name: Charge Limit
- entity: sensor.tesla_charge_port_door_open
- entity: binary_sensor.tesla_charge_port_door_open
name: Charge Port Door Open
- entity: sensor.tesla_charger_actual_current
name: Charger Current
Expand All @@ -645,7 +646,6 @@ The below is the Lovelace UI configuration used to make the example screenshot a
name: Scheduled Charging Start Time
- entity: sensor.tesla_time_to_full_charge
name: Time To Full Charge

```

## Useful Automations
Expand Down