You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -111,7 +113,7 @@ This is fired when the [previous consumption's](./entities/electricity.md#previo
111
113
| `max_rate` | `float` | The maximum/highest rate in the discovered rates collection |
112
114
| `average_rate` | `float` | The average rate in the discovered rates collection |
113
115
114
-
### Automation Example
116
+
#### Automation Example
115
117
116
118
```yaml
117
119
- trigger:
@@ -126,7 +128,7 @@ This is fired when the [previous consumption's](./entities/electricity.md#previo
126
128
New rates available for {{ trigger.event.data.mpan }}. Starting value is {{ trigger.event.data.rates[0]["value_inc_vat"] }}
127
129
```
128
130
129
-
## Gas Current Day Rates
131
+
### Gas Current Day Rates
130
132
131
133
`octopus_energy_gas_current_day_rates`
132
134
@@ -142,7 +144,7 @@ This is fired when the current day rates are updated.
142
144
| `max_rate` | `float` | The maximum/highest rate in the discovered rates collection |
143
145
| `average_rate` | `float` | The average rate in the discovered rates collection |
144
146
145
-
### Automation Example
147
+
#### Automation Example
146
148
147
149
```yaml
148
150
- trigger:
@@ -157,7 +159,7 @@ This is fired when the current day rates are updated.
157
159
New rates available for {{ trigger.event.data.mprn }}. Starting value is {{ trigger.event.data.rates[0]["value_inc_vat"] }}
158
160
```
159
161
160
-
## Gas Previous Day Rates
162
+
### Gas Previous Day Rates
161
163
162
164
`octopus_energy_gas_previous_day_rates`
163
165
@@ -173,7 +175,7 @@ This is fired when the previous day rates are updated.
173
175
| `max_rate` | `float` | The maximum/highest rate in the discovered rates collection |
174
176
| `average_rate` | `float` | The average rate in the discovered rates collection |
175
177
176
-
### Automation Example
178
+
#### Automation Example
177
179
178
180
```yaml
179
181
- trigger:
@@ -188,7 +190,7 @@ This is fired when the previous day rates are updated.
188
190
New rates available for {{ trigger.event.data.mprn }}. Starting value is {{ trigger.event.data.rates[0]["value_inc_vat"] }}
189
191
```
190
192
191
-
## Gas Next Day Rates
193
+
### Gas Next Day Rates
192
194
193
195
`octopus_energy_gas_next_day_rates`
194
196
@@ -204,7 +206,7 @@ This is fired when the next day rates are updated.
204
206
| `max_rate` | `float` | The maximum/highest rate in the discovered rates collection |
205
207
| `average_rate` | `float` | The average rate in the discovered rates collection |
206
208
207
-
### Automation Example
209
+
#### Automation Example
208
210
209
211
```yaml
210
212
- trigger:
@@ -219,7 +221,7 @@ This is fired when the next day rates are updated.
219
221
New rates available for {{ trigger.event.data.mprn }}. Starting value is {{ trigger.event.data.rates[0]["value_inc_vat"] }}
220
222
```
221
223
222
-
## Gas Previous Consumption Rates
224
+
### Gas Previous Consumption Rates
223
225
224
226
`octopus_energy_gas_previous_consumption_rates`
225
227
@@ -235,7 +237,7 @@ This is fired when the [previous consumption's](./entities/gas.md#previous-accum
235
237
| `max_rate` | `float` | The maximum/highest rate in the discovered rates collection |
236
238
| `average_rate` | `float` | The average rate in the discovered rates collection |
237
239
238
-
### Automation Example
240
+
#### Automation Example
239
241
240
242
```yaml
241
243
- trigger:
@@ -250,7 +252,9 @@ This is fired when the [previous consumption's](./entities/gas.md#previous-accum
250
252
New rates available for {{ trigger.event.data.mprn }}. Starting value is {{ trigger.event.data.rates[0]["value_inc_vat"] }}
251
253
```
252
254
253
-
## New Saving Session
255
+
## Octoplus
256
+
257
+
### New Saving Session
254
258
255
259
`octopus_energy_new_octoplus_saving_session`
256
260
@@ -266,7 +270,7 @@ This event is raised when a new saving session is discovered.
266
270
| `event_duration_in_minutes` | `integer` | The duration of the event in minutes |
267
271
| `event_octopoints_per_kwh` | `integer` | The number of octopoints that are awarded per kwh saved during the event |
268
272
269
-
### Automation Example
273
+
#### Automation Example
270
274
271
275
```yaml
272
276
- trigger:
@@ -281,7 +285,7 @@ This event is raised when a new saving session is discovered.
281
285
New Octopus Energy saving session available. It starts at {{ trigger.event.data["event_start"].strftime('%H:%M') }} on {{ trigger.event.data["event_start"].day }}/{{ trigger.event.data["event_start"].month }} for {{ trigger.event.data["event_duration_in_minutes"] | int }} minutes.
282
286
```
283
287
284
-
## All Saving Sessions
288
+
### All Saving Sessions
285
289
286
290
`octopus_energy_all_octoplus_saving_sessions`
287
291
@@ -315,7 +319,7 @@ Each joined event item will include the following attributes
315
319
| `octopoints_per_kwh` | `integer` | The number of octopoints that are awarded per kwh saved during the event |
316
320
| `rewarded_octopoints` | `integer` | The total number of octopoints that were awarded (if any or known) |
317
321
318
-
### Automation Example
322
+
#### Automation Example
319
323
320
324
```yaml
321
325
- trigger:
@@ -330,7 +334,7 @@ Each joined event item will include the following attributes
330
334
Saving session events updated. The latest joined event awarded {{ trigger.event.data.joined_events[0]["rewarded_octopoints"] }}
@@ -344,7 +348,7 @@ This event is raised when a new free electricity session is discovered.
344
348
| `event_end` | `datetime` | The date/time the event ends |
345
349
| `event_duration_in_minutes` | `integer` | The duration of the event in minutes |
346
350
347
-
### Automation Example
351
+
#### Automation Example
348
352
349
353
```yaml
350
354
- trigger:
@@ -359,7 +363,7 @@ This event is raised when a new free electricity session is discovered.
359
363
New Octopus Energy free electricity session available. It starts at {{ trigger.event.data["event_start"].strftime('%H:%M') }} on {{ trigger.event.data["event_start"].day }}/{{ trigger.event.data["event_start"].month }} for {{ trigger.event.data["event_duration_in_minutes"] | int }} minutes.
Copy file name to clipboardExpand all lines: _docs/services.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ Refreshes intelligent dispatches for a given account.
292
292
293
293
#### Automation Example
294
294
295
-
The below example is how you might refresh the dispatches when you car is plugged in, or every 3 minutes when your car is plugged in
295
+
The below example is how you might refresh the dispatches when you car is plugged in, or every 3 minutes when your car is plugged in. Please note that the entity `binary_sensor.car_is_plugged_in` is not provided by the integration and should be replaced by an external source (e.g. the plug status from the [MyEnergi integration](https://github.com/CJNE/ha-myenergi) or a manual input switch that you switch on manually when you plug in your car).
296
296
297
297
!!! warn
298
298
@@ -302,20 +302,22 @@ The below example is how you might refresh the dispatches when you car is plugge
302
302
mode: single
303
303
alias: Refresh intelligent dispatches
304
304
triggers:
305
-
- trigger: state
306
-
entity_id: binary_sensor.car_is_plugged_in
307
-
to: 'on'
308
-
# Refresh every 3 minutes in case the schedule has changed
309
-
- trigger: time_pattern
310
-
minutes: "/3"
305
+
- trigger: state
306
+
entity_id: binary_sensor.car_is_plugged_in
307
+
to: on
308
+
# Refresh every 3 minutes in case the schedule has changed
Copy file name to clipboardExpand all lines: _docs/setup/tariff_comparison.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,19 @@ The tariff comparison allows you to elect a new tariff which will generate some
6
6
7
7
After you've configured your [account](./account.md), you'll be able to configure tariff comparison sensors. These are configured by adding subsequent instances of the integration going through the [normal flow](https://my.home-assistant.io/redirect/config_flow_start/?domain=octopus_energy), and selecting `Tariff Comparison` in the provided menu.
8
8
9
+
!!! note
10
+
11
+
This will only look and provide data inline with previous consumption data. There are no plans to provide data for any other time frame (e.g. "today"). This is for two reasons.
12
+
13
+
1. I personally don't see the point of tracking this information against the current consumption as the value of the data will be larger in scope to just today (e.g. you're probably not going to switch tariffs because this morning is cheaper on another tariff) and while a tariff might be cheaper at one point during the day, it might be more expensive at another point. The value, to me, is in the historic trend of the data and knowing this a few hours early isn't going to save much.
14
+
15
+
2. I only want the integration to retrieve data that is required for functionality to stay in the good books with OE
16
+
9
17
!!! info
10
18
11
19
When updating the tariff depending on what previous consumption data is available, it can take up to 24 hours to update the cost. This will be improved in the future.
0 commit comments