Update RESTful binary sensor docs to note unique_id support (#24311)

This commit is contained in:
krazos 2022-10-03 08:17:53 -04:00 committed by GitHub
parent 04d1d5cfc4
commit ab5ef42805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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