From 64da013d69953442de1f2f12412154d6b38d3dbd Mon Sep 17 00:00:00 2001 From: DubhAd Date: Fri, 24 Aug 2018 16:38:25 +0100 Subject: [PATCH] Minor fix (#6071) * Minor fix Removing quotes around numbers in the templates * Update entities.markdown --- source/_docs/z-wave/entities.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/z-wave/entities.markdown b/source/_docs/z-wave/entities.markdown index ffcd3a6c309..e2dd2b7de9a 100644 --- a/source/_docs/z-wave/entities.markdown +++ b/source/_docs/z-wave/entities.markdown @@ -145,7 +145,7 @@ binary_sensor: YOUR_SENSOR: friendly_name: "Friendly name here" device_class: door - value_template: {{ is_state('sensor.YOUR_ORIGINAL_SENSOR_access_control', '22') }} + value_template: "{{ is_state('sensor.YOUR_ORIGINAL_SENSOR_access_control', 22) }}" ``` {% endraw %} @@ -171,7 +171,7 @@ binary_sensor: YOUR_SENSOR: friendly_name: "Friendly name here" device_class: motion - value_template: {{ is_state('sensor.YOUR_SENSOR_burglar', '8') }} + value_template: "{{ is_state('sensor.YOUR_SENSOR_burglar', 8) }}" ``` {% endraw %}