Skip to content

Commit

Permalink
Fix tpms bar sensors name in template for psi (#3490)
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualm2000 authored Nov 26, 2023
1 parent 2f910fa commit c1db4f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/integrations/home_assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,28 +422,28 @@ tesla_location:
unit_of_measurement: psi
icon_template: mdi:car-tire-alert
value_template: >
{{ (states('sensor.tesla_tpms_pressure_fl') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_pressure_fl_bar') | float * 14.50377) | round(2) }}
tesla_tpms_pressure_fr_psi:
friendly_name: Front Right Tire Pressure (psi)
unit_of_measurement: psi
icon_template: mdi:car-tire-alert
value_template: >
{{ (states('sensor.tesla_tpms_pressure_fr') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_pressure_fr_bar') | float * 14.50377) | round(2) }}
tesla_tpms_pressure_rl_psi:
friendly_name: Rear Left Tire Pressure (psi)
unit_of_measurement: psi
icon_template: mdi:car-tire-alert
value_template: >
{{ (states('sensor.tesla_tpms_pressure_rl') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_pressure_rl_bar') | float * 14.50377) | round(2) }}
tesla_tpms_pressure_rr_psi:
friendly_name: Rear Right Tire Pressure (psi)
unit_of_measurement: psi
icon_template: mdi:car-tire-alert
value_template: >
{{ (states('sensor.tesla_tpms_pressure_rr') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_pressure_rr_bar') | float * 14.50377) | round(2) }}
```

### binary_sensor.yaml (binary_sensor: section of configuration.yaml)
Expand Down

0 comments on commit c1db4f5

Please sign in to comment.