Hi there,
Any advice why the temperature wont change?
Price is well below 0 cents:
This is heater:
Here is the automation code I made in HA (visual / GUI, I’m bright as a deep hole in the space when it down to editing code manually )
alias: Poreallas alle 5snt → 40 astetta
description: “”
trigger:
platform: numeric_state
entity_id:
sensor.nordpool_kwh_fi_eur_4_40_024
attribute: current_price
above: -100
below: 5
for:
hours: 24
minutes: 0
seconds: 0
condition:
action:
service: water_heater.set_temperature
data:
temperature: 40
operation_mode: Boost
mode: single
tom_l
November 24, 2023, 4:45pm
2
Please see section 11 about how to format your pasted code correctly: How to help us help you - or How to ask a good question
1 Like
alias: Poreallas alle 5snt → 40 astetta
- sensor.nordpool_kwh_fi_eur_4_40_024
service: water_heater.set_temperature
Maybe Im just so stupid that I dont even understand the section 11, tried the demo but did not do anything…?
tom_l
November 24, 2023, 6:56pm
4
Three back ticks around your code like this
```
Your code here
```
1 Like
alias: Poreallas alle 5snt -> 40 astetta
description: ""
trigger:
- platform: numeric_state
entity_id:
- sensor.nordpool_kwh_fi_eur_4_40_024
attribute: current_price
above: -100
below: 5
for:
hours: 24
minutes: 0
seconds: 0
condition: []
action:
- service: water_heater.set_temperature
data:
temperature: 40
operation_mode: Boost
mode: single
Device entity was wrong, should be climate. Also I changed the entity setting and added °C →
alias: Poreallas alle 5snt -> 40 astetta
description: ""
trigger:
- platform: numeric_state
entity_id:
- sensor.nordpool_kwh_fi_eur_4_40_024
attribute: current_price
above: -100
below: 5
for:
hours: 24
minutes: 0
seconds: 0
condition: []
action:
- service: climate.set_temperature
data:
temperature: 40
target:
device_id: 6460133100f28fb85cb66a273c3ed93a
mode: single
Any idea how to make the temperature reset to 38°C at a certain time of day. Usually we use the spa between 17.00-20.00 and in winter it should stop heating at 15.00. IF the price has been right for the day