From 4ac3e74228dc8dcf63f4e4d18694bd3c3d74c76c Mon Sep 17 00:00:00 2001 From: Christian Soltenborn Date: Fri, 2 Apr 2021 20:07:21 +0000 Subject: [PATCH 1/2] added short explanation and units --- source/_integrations/weather.template.markdown | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/_integrations/weather.template.markdown b/source/_integrations/weather.template.markdown index 50235f8b044c..3a014f8157fe 100644 --- a/source/_integrations/weather.template.markdown +++ b/source/_integrations/weather.template.markdown @@ -35,6 +35,8 @@ weather: {% endraw %} +**Note:** The templates' values need to be in the units given below - the weather template will make sure that the values reported to Home Assistant are in appropriate units according to the system settings (metric or imperial). + {% configuration %} name: description: Name to use in the frontend. @@ -53,7 +55,7 @@ temperature_template: required: true type: template humidity_template: - description: The current humidity. + description: The current humidity in %. required: true type: template attribution_template: @@ -61,23 +63,23 @@ attribution_template: required: false type: string pressure_template: - description: The current air pressure. + description: The current air pressure in hPa. required: false type: template wind_speed_template: - description: The current wind speed. + description: The current wind speed in m/s. required: false type: template wind_bearing_template: - description: The current wind bearing. + description: The current wind bearing in °. required: false type: template ozone_template: - description: The current ozone level. + description: The current ozone level in ppm. required: false type: template visibility_template: - description: The current visibility. + description: The current visibility in km. required: false type: template forecast_template: From e34a68b07dd99b275b0a63768bff9aea6eec22e1 Mon Sep 17 00:00:00 2001 From: Christian Soltenborn Date: Tue, 6 Apr 2021 17:15:16 +0200 Subject: [PATCH 2/2] changed wind speed unit from m/s to km/h See commit 82efeded212da103e316d84d74bdac1483c51781 --- source/_integrations/weather.template.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/weather.template.markdown b/source/_integrations/weather.template.markdown index 3a014f8157fe..c65a395a78ab 100644 --- a/source/_integrations/weather.template.markdown +++ b/source/_integrations/weather.template.markdown @@ -67,7 +67,7 @@ pressure_template: required: false type: template wind_speed_template: - description: The current wind speed in m/s. + description: The current wind speed in km/h. required: false type: template wind_bearing_template: