Skip to content

Commit

Permalink
doc: Fix TPMS sensor names to match binary_sensor.yaml (#3613)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenni authored Jan 19, 2024
1 parent 7c6abdc commit 6a19ec2
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 @@ -682,28 +682,28 @@ Don't forget to replace `<teslamate url>` and `<your tesla model>` with correct
unit_of_measurement: psi
icon_template: mdi:car-tire-alert
value_template: >
{{ (states('sensor.tesla_tpms_pressure_fl_bar') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_fl') | 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_bar') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_fr') | 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_bar') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_rl') | 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_bar') | float * 14.50377) | round(2) }}
{{ (states('sensor.tesla_tpms_rr') | float * 14.50377) | round(2) }}
```

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

0 comments on commit 6a19ec2

Please sign in to comment.