Skip to content

Commit 1e9ef65

Browse files
committed
chore: Fixed blueprint
1 parent d8ea877 commit 1e9ef65

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

_docs/blueprints.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ The following blueprints can help you configure data sources provided by other i
1010

1111
[Install blueprint](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBottlecapDave%2FHomeAssistant-OctopusEnergy%2Fblob%2Fmain%2F_docs%2Fblueprints%target_timeframes_carbon_intensity.yaml) | [Source](./blueprints/target_timeframes_carbon_intensity.yaml)
1212

13-
This blueprint will provide the data source for the UK Carbon Intensity as provided by the [Carbon Intensity](https://github.com/BottlecapDave/HomeAssistant-CarbonIntensity) integration.
13+
This blueprint will provide the data source for the UK Carbon Intensity as provided by the [Carbon Intensity](https://github.com/BottlecapDave/HomeAssistant-CarbonIntensity) integration.
14+
15+
### Octopus Energy
16+
17+
[Install blueprint](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBottlecapDave%2FHomeAssistant-OctopusEnergy%2Fblob%2Fmain%2F_docs%2Fblueprints%target_timeframes_octopus_energy.yaml) | [Source](./blueprints/target_timeframes_octopus_energy.yaml)
18+
19+
This blueprint will provide the data source for Octopus Energy rates as provided by the [Octopus Energy](https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy) integration.

_docs/blueprints/target_timeframes_octopus_energy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ action:
6868
{% set value = rate["value_inc_vat"] | float %}
6969
{% set data.new_rates = data.new_rates + [{ 'start': start , 'end': end, 'value': value, 'metadata': { "is_capped": rate["is_capped"] } }] %}
7070
{% endfor %}
71-
{{ { 'data': data.new_rates } | to_json }}
71+
{{ { 'data': data.new_rates } }}
7272
target:
7373
entity_id: !input target_timeframe_data_source_sensor

0 commit comments

Comments
 (0)