Unique id for tod integration (#24312)

This commit is contained in:
G Johansson 2022-11-18 16:53:48 +01:00 committed by GitHub
parent eb38dc2d5a
commit 86d8955bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,11 +45,13 @@ binary_sensor:
after: sunrise
after_offset: "-02:00"
before: "07:00"
unique_id: early_morning_sensor
- platform: tod
name: Late Morning
after: "10:00"
before: "12:00"
unique_id: late_morning_sensor
```
{% configuration %}
@ -73,6 +75,10 @@ after_offset:
description: The time offset of the beginning time range.
type: time
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 %}
## Considerations