Add unique_id configuration variable to command_line integration (#20031)

This commit is contained in:
Gabriel Rauter 2022-01-03 15:10:18 +01:00 committed by GitHub
parent 15fe2e6999
commit 48e7e709e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 0 deletions

View File

@ -72,6 +72,10 @@ command_timeout:
required: false
type: integer
default: 15
unique_id:
description: An ID that uniquely identifies this binary sensor. Set this to a unique value to allow customization through the UI.
required: false
type: string
{% endconfiguration %}
## Execution

View File

@ -67,6 +67,10 @@ covers:
required: false
type: integer
default: 15
unique_id:
description: An ID that uniquely identifies this cover. Set this to a unique value to allow customization through the UI.
required: false
type: string
{% endconfiguration %}
## Examples

View File

@ -54,6 +54,10 @@ json_attributes:
description: Defines a list of keys to extract values from a JSON dictionary result and then set as sensor attributes.
required: false
type: [string, list]
unique_id:
description: An ID that uniquely identifies this sensor. Set this to a unique value to allow customization through the UI.
required: false
type: string
{% endconfiguration %}
## Execution

View File

@ -65,6 +65,10 @@ switches:
required: false
type: integer
default: 15
unique_id:
description: An ID that uniquely identifies this switch. Set this to a unique value to allow customization through the UI.
required: false
type: string
{% endconfiguration %}
A note on `friendly_name`: