From 879fb89e6c2a656f85e95795c844d26d487dd396 Mon Sep 17 00:00:00 2001 From: resistr <36827187+resistr@users.noreply.github.com> Date: Sat, 17 Oct 2020 05:06:51 -0500 Subject: [PATCH] updated garadget mqtt example to include value template (#15283) Co-authored-by: Nader Shenoda --- source/_integrations/garadget.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_integrations/garadget.markdown b/source/_integrations/garadget.markdown index d9bfcaef045..be4a1501fe7 100644 --- a/source/_integrations/garadget.markdown +++ b/source/_integrations/garadget.markdown @@ -134,4 +134,7 @@ cover: state_topic: "garadget/device_name/status" payload_open: "open" payload_close: "close" + value_template: "{{ value_json.status }}" ``` + +Replace device_name with the name of the device provided when configuring garadget.