Skip to content

Commit b98ac2f

Browse files
authored
Add unique_id for MQTT room (#25025)
1 parent 51d57ac commit b98ac2f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

source/_integrations/mqtt_room.markdown

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ sensor:
2626
```
2727
2828
{% configuration %}
29+
away_timeout:
30+
description: The time in seconds after which the state should be set to `not_home` if there were no updates. `0` disables the check.
31+
required: false
32+
default: 0
33+
type: integer
2934
device_id:
3035
description: The device id to track for this sensor.
3136
required: true
@@ -44,11 +49,10 @@ timeout:
4449
required: false
4550
default: 5
4651
type: integer
47-
away_timeout:
48-
description: The time in seconds after which the state should be set to `not_home` if there were no updates. `0` disables the check.
52+
unique_id:
53+
description: "An ID that uniquely identifies this room sensor. If two sensors have the same unique ID, Home Assistant will raise an exception."
4954
required: false
50-
default: 0
51-
type: integer
55+
type: string
5256
{% endconfiguration %}
5357

5458
## Usage

0 commit comments

Comments
 (0)