From 5d8cdd8b4a22cda85fe9a12497c482e900eff660 Mon Sep 17 00:00:00 2001 From: Ben Lebherz Date: Thu, 30 Apr 2020 13:55:26 +0200 Subject: [PATCH 1/2] add timeout parameter --- source/_integrations/surepetcare.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/surepetcare.markdown b/source/_integrations/surepetcare.markdown index f97a07445d3e..75c7e359afc3 100644 --- a/source/_integrations/surepetcare.markdown +++ b/source/_integrations/surepetcare.markdown @@ -48,6 +48,11 @@ surepetcare: description: The Sure Petcare IDs of the Pets to show required: false type: list + timeout: + description: "Timeout in seconds for request to the Sure Petcare API." + required: false + default: 15 + type: int scan_interval: description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)." required: false From f91c556b0d5643898543759abe7b683f41bea632 Mon Sep 17 00:00:00 2001 From: Ben Lebherz Date: Thu, 30 Apr 2020 14:07:00 +0200 Subject: [PATCH 2/2] fix type of timeout parameter --- source/_integrations/surepetcare.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/surepetcare.markdown b/source/_integrations/surepetcare.markdown index 75c7e359afc3..68fceafd76b5 100644 --- a/source/_integrations/surepetcare.markdown +++ b/source/_integrations/surepetcare.markdown @@ -52,7 +52,7 @@ surepetcare: description: "Timeout in seconds for request to the Sure Petcare API." required: false default: 15 - type: int + type: integer scan_interval: description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)." required: false