Skip to content

Commit 9b55d44

Browse files
committed
docs(custom): updated refresh intelligent dispatches service example to include delay
1 parent faab57e commit 9b55d44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_docs/services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ conditions:
313313
entity_id: binary_sensor.car_is_plugged_in
314314
state: on
315315
actions:
316+
# Wait 30 seconds to give OE a chance to update the dispatches
317+
- delay: 00:00:30
316318
- action: octopus_energy.refresh_intelligent_dispatches
317319
target:
318320
entity_id: binary_sensor.octopus_energy_{{ACCOUNT_ID}}_intelligent_dispatching

0 commit comments

Comments
 (0)