Add timeout option docs for sensor.rest and binary_sensor.rest. (#8161)

This commit is contained in:
Giorgos Logiotatidis 2019-02-26 20:24:34 +02:00 committed by Paulus Schoutsen
parent d8dd6bc544
commit 5a41ba398a
2 changed files with 11 additions and 1 deletions

View File

@ -92,6 +92,11 @@ verify_ssl:
required: false
type: boolean
default: true
timeout:
description: Defines max time to wait data from the endpoint.
required: false
type: positive integer
default: 10
authentication:
description: "Type of the HTTP authentication. `basic` or `digest`."
required: false

View File

@ -70,7 +70,12 @@ verify_ssl:
description: Verify the SSL certificate of the endpoint.
required: false
type: boolean
default: true
default: True
timeout:
description: Defines max time to wait data from the endpoint.
required: false
type: positive integer
default: 10
unit_of_measurement:
description: Defines the units of measurement of the sensor, if any.
required: false