From a3e4670c5f7a143937793be9d1612646a652be39 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 23 Jun 2025 20:03:39 +0200 Subject: [PATCH] Add unique ID support to Trend integration YAML configuration (#39677) --- source/_integrations/trend.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_integrations/trend.markdown b/source/_integrations/trend.markdown index 9a942f0c78b..8fd4ee08def 100644 --- a/source/_integrations/trend.markdown +++ b/source/_integrations/trend.markdown @@ -106,6 +106,12 @@ sensors: required: false type: integer default: 0 + unique_id: + description: > + An ID that uniquely identifies this sensor. Set this to a unique value to allow + customization through the UI and to enable the sensor to be placed in areas. + required: false + type: string {% endconfiguration %} ## Using Multiple Samples @@ -148,6 +154,7 @@ binary_sensor: sensors: temp_falling: entity_id: sensor.outside_temperature + unique_id: outside_temp_falling_trend sample_duration: 7200 max_samples: 120 min_samples: 20 @@ -156,6 +163,7 @@ binary_sensor: temp_rising: entity_id: sensor.outside_temperature + unique_id: outside_temp_rising_trend sample_duration: 7200 max_samples: 120 min_samples: 20