From e673169e3eec556a7226c709381d2b19eebe9ba7 Mon Sep 17 00:00:00 2001 From: Amir Hanan Date: Sun, 7 Oct 2018 20:01:32 +0300 Subject: [PATCH] Configuration ezfix (#6578) * Configuration ezfix #6385 related * update int to integer Documentation states "int" as possible type - a bit confusing --- .../switch.acer_projector.markdown | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/source/_components/switch.acer_projector.markdown b/source/_components/switch.acer_projector.markdown index 7599cd6d96e..1e5bfb299c0 100644 --- a/source/_components/switch.acer_projector.markdown +++ b/source/_components/switch.acer_projector.markdown @@ -27,10 +27,21 @@ switch: filename: /dev/ttyUSB0 ``` -Configuration variables: - -- **filename** (*Required*): The pipe where the projector is connected to. -- **name** (*Optional*): The name to use when displaying this switch. -- **timeout** (*Optional*): Timeout for the connection in seconds. -- **write_timeout** (*Optional*): Write timeout in seconds. - +{% configuration %} +filename: + description: The pipe where the projector is connected to. + required: true + type: string +name: + description: The name to use when displaying this switch. + required: false + type: string +timeout: + description: Timeout for the connection in seconds. + required: false + type: integer +write_timeout: + description: Write timeout in seconds. + required: false + type: integer +{% endconfiguration %}