Add unique_id for MQTT room (#25025)

This commit is contained in:
Jan Bouwhuis 2022-11-22 15:57:00 +01:00 committed by GitHub
parent 51d57aca0b
commit b98ac2fca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,11 @@ sensor:
```
{% configuration %}
away_timeout:
description: The time in seconds after which the state should be set to `not_home` if there were no updates. `0` disables the check.
required: false
default: 0
type: integer
device_id:
description: The device id to track for this sensor.
required: true
@ -44,11 +49,10 @@ timeout:
required: false
default: 5
type: integer
away_timeout:
description: The time in seconds after which the state should be set to `not_home` if there were no updates. `0` disables the check.
unique_id:
description: "An ID that uniquely identifies this room sensor. If two sensors have the same unique ID, Home Assistant will raise an exception."
required: false
default: 0
type: integer
type: string
{% endconfiguration %}
## Usage