From 7f0dda64ccd551eeb1baff9f3ff392b8b0bb6324 Mon Sep 17 00:00:00 2001 From: JakobLichterfeld Date: Mon, 6 Jan 2025 11:41:38 +0100 Subject: [PATCH] Revert "doc: Fixing typo for sensor psi calculation (#4470)" (#4479) This reverts commit 33ca94a27374636577744d2d1860d8cb8118e833. --- website/docs/integrations/home_assistant.md | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/website/docs/integrations/home_assistant.md b/website/docs/integrations/home_assistant.md index e31c153843..73c6512c6a 100644 --- a/website/docs/integrations/home_assistant.md +++ b/website/docs/integrations/home_assistant.md @@ -684,40 +684,40 @@ Don't forget to replace ``, `` and ` - {% if has_value('sensor.tesla_tpms_pressure_fl') %} - {{ (states('sensor.tesla_tpms_pressure_fl') | float * 14.50377) | round(2) }} + {% if has_value('sensor.tesla_tpms_fl') %} + {{ (states('sensor.tesla_tpms_fl') | float * 14.50377) | round(2) }} {% endif %} tesla_tpms_pressure_fr_psi: friendly_name: Front Right Tire Pressure (psi) unit_of_measurement: psi icon_template: mdi:car-tire-alert - availability_template: "{{ has_value('sensor.tesla_tpms_pressure_fr') }}" + availability_template: "{{ has_value('sensor.tesla_tpms_fr') }}" value_template: > - {% if has_value('sensor.tesla_tpms_pressure_fr') %} - {{ (states('sensor.tesla_tpms_pressure_fr') | float * 14.50377) | round(2) }} + {% if has_value('sensor.tesla_tpms_fr') %} + {{ (states('sensor.tesla_tpms_fr') | float * 14.50377) | round(2) }} {% endif %} tesla_tpms_pressure_rl_psi: friendly_name: Rear Left Tire Pressure (psi) unit_of_measurement: psi icon_template: mdi:car-tire-alert - availability_template: "{{ has_value('sensor.tesla_tpms_pressure_rl') }}" + availability_template: "{{ has_value('sensor.tesla_tpms_rl') }}" value_template: > - {% if has_value('sensor.tesla_tpms_pressure_rl') %} - {{ (states('sensor.tesla_tpms_pressure_rl') | float * 14.50377) | round(2) }} + {% if has_value('sensor.tesla_tpms_rl') %} + {{ (states('sensor.tesla_tpms_rl') | float * 14.50377) | round(2) }} {% endif %} tesla_tpms_pressure_rr_psi: friendly_name: Rear Right Tire Pressure (psi) unit_of_measurement: psi icon_template: mdi:car-tire-alert - availability_template: "{{ has_value('sensor.tesla_tpms_pressure_rr') }}" + availability_template: "{{ has_value('sensor.tesla_tpms_rr') }}" value_template: > - {% if has_value('sensor.tesla_tpms_pressure_rr') %} - {{ (states('sensor.tesla_tpms_pressure_rr') | float * 14.50377) | round(2) }} + {% if has_value('sensor.tesla_tpms_rr') %} + {{ (states('sensor.tesla_tpms_rr') | float * 14.50377) | round(2) }} {% endif %} tesla_active_route_distance_to_arrival_km: