From 86d8955bd31c77187e854a3141a3ae0dc598e34a Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 18 Nov 2022 16:53:48 +0100 Subject: [PATCH] Unique id for tod integration (#24312) --- source/_integrations/tod.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_integrations/tod.markdown b/source/_integrations/tod.markdown index 972989bb5a0..eb3ce072abe 100644 --- a/source/_integrations/tod.markdown +++ b/source/_integrations/tod.markdown @@ -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