Add unique ID to InfluxDB sensor (#21455)

This commit is contained in:
Sander Huisman 2022-02-06 18:40:46 +01:00 committed by GitHub
parent 01eed4934b
commit 0afa5691b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,6 +424,10 @@ queries:
type: string
description: The name of the sensor.
required: true
unique_id:
type: string
description: The unique ID for this query. This allows changing the name, icon and entity_id from the web interface.
required: false
unit_of_measurement:
type: string
description: Defines the units of measurement of the sensor, if any.
@ -464,6 +468,10 @@ queries_flux:
type: string
description: The name of the sensor.
required: true
unique_id:
type: string
description: The unique ID for this query. This allows changing the name, icon and entity_id from the web interface.
required: false
unit_of_measurement:
type: string
description: Defines the units of measurement of the sensor, if any.