Skip to content

Instantly share code, notes, and snippets.

@andrew-codechimp
Last active August 4, 2025 18:53
Show Gist options
  • Select an option

  • Save andrew-codechimp/76c12c1ae91f625e3e22e13bdfe8affe to your computer and use it in GitHub Desktop.

Select an option

Save andrew-codechimp/76c12c1ae91f625e3e22e13bdfe8affe to your computer and use it in GitHub Desktop.
Octopus free electricity session started
alias: Octopus Energy New Free Energy Session
description: ""
triggers:
- trigger: event
event_type: octopus_energy_new_octoplus_free_electricity_session
conditions: []
actions:
- action: calendar.create_event
metadata: {}
data:
summary: Free electricity
start_date_time: trigger.event.data["event_start"]
end_date_time: trigger.event.data["event_end”]
target:
entity_id: calendar.system
mode: single
alias: Octopus Free Electricity Started
description: ""
trigger:
- platform: calendar
event: start
entity_id: calendar.system
condition:
- condition: template
value_template: "{{ trigger.calendar_event.summary | lower == 'free electricity' }}"
action:
- action: script.immersion_hot_water_boost
metadata: {}
data: {}
- metadata: {}
data:
message: Octopus free electricity session started
action: notify.all_phones
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment