mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Add unique_id for MQTT room (#25025)
This commit is contained in:
parent
51d57aca0b
commit
b98ac2fca5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user