Add verify_sll option (#889)

This commit is contained in:
Fabian Affolter 2016-09-04 11:41:10 +02:00 committed by GitHub
parent 333766a037
commit 4e8407cd56
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,7 @@ sensor:
payload: '{ "device" : "heater" }'
name: REST POST sensor
unit_of_measurement: "°C"
verify_ssl: False
```
Configuration variables:
@ -49,6 +50,7 @@ Configuration variables:
- **payload** (*Optional*): The payload to send with a POST request. Depends on the service, but usually formed as JSON.
- **name** (*Optional*): Name of the REST sensor.
- **unit_of_measurement** (*Optional*): Defines the unit of measurement of the sensor, if any.
- **verify_ssl** (*Optional*): Verify the certification of the endpoint. Default to True.
<p class='note warning'>
Make sure that the URL matches exactly your endpoint or resource.