mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Unique id for tod integration (#24312)
This commit is contained in:
parent
eb38dc2d5a
commit
86d8955bd3
@ -45,11 +45,13 @@ binary_sensor:
|
|||||||
after: sunrise
|
after: sunrise
|
||||||
after_offset: "-02:00"
|
after_offset: "-02:00"
|
||||||
before: "07:00"
|
before: "07:00"
|
||||||
|
unique_id: early_morning_sensor
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Late Morning
|
name: Late Morning
|
||||||
after: "10:00"
|
after: "10:00"
|
||||||
before: "12:00"
|
before: "12:00"
|
||||||
|
unique_id: late_morning_sensor
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -73,6 +75,10 @@ after_offset:
|
|||||||
description: The time offset of the beginning time range.
|
description: The time offset of the beginning time range.
|
||||||
type: time
|
type: time
|
||||||
required: false
|
required: false
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this sensor. This allows changing the name, icon, and entity_id from the web interface.
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Considerations
|
## Considerations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user