From f2cb7f4e997a00840f2763a593dff40b718a4e39 Mon Sep 17 00:00:00 2001 From: unixko <44964969+unixko@users.noreply.github.com> Date: Tue, 14 May 2019 17:48:51 +0700 Subject: [PATCH] add abbreviation for current_temperature_template (#9400) --- source/_docs/mqtt/discovery.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_docs/mqtt/discovery.markdown b/source/_docs/mqtt/discovery.markdown index 3b42c2cf5a3..04dfa8af4fd 100644 --- a/source/_docs/mqtt/discovery.markdown +++ b/source/_docs/mqtt/discovery.markdown @@ -99,6 +99,7 @@ Supported abbreviations: 'cln_tpl': 'cleaning_template', 'cmd_t': 'command_topic', 'curr_temp_t': 'current_temperature_topic', + 'curr_temp_tpl': 'current_temperature_template', 'dev': 'device', 'dev_cla': 'device_class', 'dock_t': 'docked_topic', @@ -297,7 +298,7 @@ Setting up a climate component (heat only) with abbreviated configuration variab "temp_stat_t":"homeassistant/climate/livingroom/state", "temp_stat_tpl":"{{value_json.target_temp}}", "curr_temp_t":"homeassistant/climate/livingroom/state", - "current_temperature_template":"{{value_json.current_temp}}", + "curr_temp_tpl":"{{value_json.current_temp}}", "min_temp":"15", "max_temp":"25", "temp_step":"0.5",