mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +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
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
binary_sensor:
|
||||
- platform: rest
|
||||
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.
|
||||
required: false
|
||||
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:
|
||||
description: Verify the certification of the endpoint.
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user