From 3ab278f809c6e5af3b1e191e17cf69155f2cc803 Mon Sep 17 00:00:00 2001 From: John Arild Berentsen Date: Mon, 29 Aug 2016 12:28:41 +0200 Subject: [PATCH] Update cover.command_line.markdown --- source/_components/cover.command_line.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/cover.command_line.markdown b/source/_components/cover.command_line.markdown index 42505959da6..63452cc16be 100644 --- a/source/_components/cover.command_line.markdown +++ b/source/_components/cover.command_line.markdown @@ -43,4 +43,4 @@ Configuration variables: - **closecmd** (*Required*): The action to close the cover. - **stopcmd** (*Required*): The action to stop the cover. - **statecmd** (*Optional*): If given, this will act as a sensor that runs in the background and updates the state of the cover. If the command returns a `0` the indicates the cover is fully closed, whereas a 100 indicates the cover is fully open. - - **value_template** (*optional - default: '{% raw %}{{ value }}{% endraw%}'*): if specified, `state_cmd` will ignore the result code of the command but the template evaluating will indicate the position of the cover. For example, if your `state_cmd` returns a string "open", using `value_template` as in the example config above will allow you to translate that into the valid state `100`. + - **value_template** (*optional - default: '{% raw %}{{ value }}{% endraw%}'*): if specified, `statecmd` will ignore the result code of the command but the template evaluating will indicate the position of the cover. For example, if your `statecmd` returns a string "open", using `value_template` as in the example config above will allow you to translate that into the valid state `100`.