Här är den enkla Home Assistant automationen om det kan vara till nytta:
Kod:
alias: Heat based on price Danfoss or Daikin
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.nordpool_kwh_se4_sek_3_10_025
below: 1.25
id: Electricity low
- platform: numeric_state
entity_id: sensor.nordpool_kwh_se4_sek_3_10_025
id: Electricity high
above: 1.25
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: climate.danfoss_target_temperature
above: 15
attribute: temperature
- condition: state
entity_id: climate.daikinxrh30
state: heat
action:
- choose:
- conditions:
- condition: trigger
id: Electricity low
sequence:
- data:
temperature: 5
target:
entity_id: climate.danfoss_target_temperature
action: climate.set_temperature
- data:
temperature: 21.3
hvac_mode: heat
target:
entity_id: climate.daikin
action: climate.set_temperature
- data: {}
target:
entity_id: climate.daikin
action: climate.turn_on
- conditions:
- condition: trigger
id: Electricity high
sequence:
- data:
temperature: 21
target:
entity_id: climate.danfoss_target_temperature
action: climate.set_temperature
- data: {}
target:
entity_id: climate.daikin
action: climate.turn_off
mode: single