mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update RESTful binary sensor docs to note unique_id support (#24311)
This commit is contained in:
parent
04d1d5cfc4
commit
ab5ef42805
@ -58,7 +58,7 @@ or a template based request:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
binary_sensor:
|
||||||
- platform: rest
|
- platform: rest
|
||||||
resource_template: "http://IP_ADDRESS/{{ now().strftime('%Y-%m-%d') }}"
|
resource_template: "http://IP_ADDRESS/{{ now().strftime('%Y-%m-%d') }}"
|
||||||
```
|
```
|
||||||
@ -99,6 +99,10 @@ payload:
|
|||||||
description: The payload to send with a POST request. Usually formed as a dictionary.
|
description: The payload to send with a POST request. Usually formed as a dictionary.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this entity. This allows changing the `name`, `icon` and `entity_id` from the web interface.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
verify_ssl:
|
verify_ssl:
|
||||||
description: Verify the certification of the endpoint.
|
description: Verify the certification of the endpoint.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user