mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add verify_sll option (#889)
This commit is contained in:
parent
333766a037
commit
4e8407cd56
@ -37,6 +37,7 @@ binary_sensor:
|
|||||||
name: REST GET binary sensor
|
name: REST GET binary sensor
|
||||||
sensor_class: opening
|
sensor_class: opening
|
||||||
value_template: '{% raw %}{{ value_json.state }}{% endraw %}'
|
value_template: '{% raw %}{{ value_json.state }}{% endraw %}'
|
||||||
|
verify_ssl: False
|
||||||
```
|
```
|
||||||
|
|
||||||
or for a POST request:
|
or for a POST request:
|
||||||
@ -61,6 +62,7 @@ Configuration variables:
|
|||||||
- **sensor_class** (*Optional*): The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
- **sensor_class** (*Optional*): The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||||
- **value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the value.
|
- **value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the value.
|
||||||
- **payload** (*Optional*): The payload to send with a POST request. Usualy formed as a dictionary.
|
- **payload** (*Optional*): The payload to send with a POST request. Usualy formed as a dictionary.
|
||||||
|
- **verify_ssl** (*Optional*): Verify the certification of the endpoint. Default to True.
|
||||||
|
|
||||||
<p class='note warning'>
|
<p class='note warning'>
|
||||||
Make sure that the URL matches exactly your endpoint or resource.
|
Make sure that the URL matches exactly your endpoint or resource.
|
||||||
|
@ -39,6 +39,7 @@ sensor:
|
|||||||
payload: '{ "device" : "heater" }'
|
payload: '{ "device" : "heater" }'
|
||||||
name: REST POST sensor
|
name: REST POST sensor
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
|
verify_ssl: False
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
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.
|
- **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.
|
- **name** (*Optional*): Name of the REST sensor.
|
||||||
- **unit_of_measurement** (*Optional*): Defines the unit of measurement of the sensor, if any.
|
- **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'>
|
<p class='note warning'>
|
||||||
Make sure that the URL matches exactly your endpoint or resource.
|
Make sure that the URL matches exactly your endpoint or resource.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user