From 395b87a0843331eb6fc7902b004631009fdfe2b2 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Fri, 4 Sep 2020 09:59:01 -0500 Subject: [PATCH] Add REST Switch state_resource (#14392) --- source/_integrations/switch.rest.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_integrations/switch.rest.markdown b/source/_integrations/switch.rest.markdown index e26b90a2a38..cfb3c631d63 100644 --- a/source/_integrations/switch.rest.markdown +++ b/source/_integrations/switch.rest.markdown @@ -23,9 +23,13 @@ switch: {% configuration %} resource: - description: The resource or endpoint that contains the value. + description: The resource or endpoint used to control the REST switch. required: true type: string +state_resource: + description: "The resource or endpoint that reports the state if different from `resource`. Used by `is_on_template`. Defaults to `resource`." + required: false + type: string method: description: "The method of the request. Supported `post` or `put`." required: false