81 lines
2.4 KiB
YAML
81 lines
2.4 KiB
YAML
|
alias: hot water
|
||
|
description: ""
|
||
|
trigger:
|
||
|
- platform: time
|
||
|
at: "07:00:00"
|
||
|
- platform: numeric_state
|
||
|
entity_id: sensor.myenergi_eddi_23473751_temp_tank_1
|
||
|
below: 45
|
||
|
- platform: numeric_state
|
||
|
entity_id: sensor.growatt_inputpower
|
||
|
above: 200
|
||
|
- platform: numeric_state
|
||
|
entity_id:
|
||
|
- sensor.growatt_batterystateofcharge
|
||
|
above: 35
|
||
|
- platform: state
|
||
|
entity_id:
|
||
|
- sensor.myenergi_eddi_23473751_status
|
||
|
from: Boosting
|
||
|
- platform: state
|
||
|
entity_id:
|
||
|
- binary_sensor.very_cheap_electricity
|
||
|
to: "on"
|
||
|
- platform: state
|
||
|
entity_id:
|
||
|
- binary_sensor.taking_a_shower_now
|
||
|
to: "off"
|
||
|
- platform: state
|
||
|
entity_id:
|
||
|
- binary_sensor.octopus_energy_target_cheapest_2h_before_morning
|
||
|
to: "on"
|
||
|
condition:
|
||
|
- condition: state
|
||
|
entity_id: binary_sensor.taking_a_shower_now
|
||
|
state: "off"
|
||
|
enabled: true
|
||
|
- condition: or
|
||
|
conditions:
|
||
|
- alias: Enough energy or cheap power from the grid
|
||
|
condition: or
|
||
|
conditions:
|
||
|
- alias: Enough battery and at least minimal solar
|
||
|
condition: and
|
||
|
conditions:
|
||
|
- condition: numeric_state
|
||
|
entity_id: sensor.growatt_batterystateofcharge
|
||
|
above: 35
|
||
|
- condition: numeric_state
|
||
|
entity_id: sensor.solcast_pv_forecast_power_next_30_mins
|
||
|
above: 200
|
||
|
- condition: numeric_state
|
||
|
entity_id: sensor.growatt_invpowertolocalload
|
||
|
below: 1000
|
||
|
- condition: state
|
||
|
entity_id: binary_sensor.very_cheap_electricity
|
||
|
state: "on"
|
||
|
- condition: and
|
||
|
conditions:
|
||
|
- alias: Low solar or very cold water
|
||
|
condition: or
|
||
|
conditions:
|
||
|
- condition: numeric_state
|
||
|
entity_id: sensor.solcast_pv_forecast_forecast_remaining_today
|
||
|
below: 6
|
||
|
- condition: numeric_state
|
||
|
entity_id: sensor.myenergi_eddi_23473751_temp_tank_1
|
||
|
below: 25
|
||
|
- condition: state
|
||
|
entity_id: binary_sensor.octopus_energy_target_cheapest_2h_before_morning
|
||
|
state: "on"
|
||
|
alias: We really need hot water and electricity is now the cheapest
|
||
|
action:
|
||
|
- service: myenergi.myenergi_eddi_boost
|
||
|
data:
|
||
|
target: Heater 1
|
||
|
time: 29
|
||
|
target:
|
||
|
device_id: 98ed56e9624a0439ce47e66b358e720d
|
||
|
mode: single
|
||
|
|