From 50c1fbb7dc55459415a75a836b6c188de932d291 Mon Sep 17 00:00:00 2001 From: Tobias Perschon Date: Wed, 31 Jul 2019 19:59:36 +0200 Subject: [PATCH] added description for timeout option (#10019) --- source/_components/telnet.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_components/telnet.markdown b/source/_components/telnet.markdown index 32ad3936ddc..221ff25f97d 100644 --- a/source/_components/telnet.markdown +++ b/source/_components/telnet.markdown @@ -26,6 +26,7 @@ switch: command_off: "PWR OFF" command_state: "PWR?" value_template: '{{ value == "PWR=01" }}' + timeout: 0.9 ``` {% endraw %} @@ -69,4 +70,9 @@ switches: description: The name used to display the switch in the frontend. required: false type: string + timeout: + description: How long to wait for a reply after a telnet command is sent. + required: false + default: 0.2 + type: float {% endconfiguration %}