diff --git a/documentation/1-source_sensor.md b/documentation/1-source_sensor.md index 0028472..7514cc4 100644 --- a/documentation/1-source_sensor.md +++ b/documentation/1-source_sensor.md @@ -118,7 +118,8 @@ template: end: "{{ (today_at() + timedelta(days=2)).strftime('%Y-%m-%d %H:%M:%S') }}" response_variable: prices sensor: - - name: tibber_forecast + - unique_id: 4283313c-8ccc-460f-8d4f-92b804cdc711 + name: tibber_forecast state: "{{ prices.prices.values() | first | selectattr('start_time', '<=', now().isoformat()) | map(attribute='price') | list | last }}" attributes: prices: >